Skip to content
Navigation

List the published advisor agreements

GET
https://api.nicer.travel/identity/agreement

Returns the published advisor agreement of the agency the caller acts for, with its text and version; items is empty while the agency has none. Any signed-in member of the agency the request acts for may read it.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Returns

200

OK

JSON
  • items
    array of
    object
    required
    • companyName
      string
      required
    • content
      string
      required
    • publishedAt
      string
      required
    • startDate
      string
      required
    • status
      draft
      or
      published
      or
      terminated
      required
    • versionNumber
      number
      required
    • agreementId
      string
      required
    • createdAt
      string
      required
    • type
      string
      required
    • updatedAt
      string
      required
    • customFields
      optional
      map of
      unknown
    • endDate
      optional
      string

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close