Skip to content
Navigation

List agreement signatures

GET
https://api.nicer.travel/identity/company/{companyName}/agreements

Lists the agreement acceptances of an agency, each with the signer's name and email and a short-lived link to the signed PDF. Agency admins for their own agency, and Nicer staff for any.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Path parameters

  • companyName
    string
    required

Query parameters

  • limit
    optional
    string

    The most signatures a page holds; 1000 when absent.

  • nextToken
    optional
    string

    The nextToken of the previous page, to read the next one.

Header parameters

  • x-nicer-company
    optional
    string

    Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one.

Returns

200

OK

JSON
  • items
    array of
    object
    required

    The items of this page.

    • acceptedAt
      string
      required
    • companyName
      string
      required
    • signature
      string
      required
    • status
      accepted
      or
      updateRequired
      required
    • versionNumber
      number
      required
    • agreementId
      string
      required
    • userId
      string
      required
    • createdAt
      string
      required
    • type
      string
      required
    • updatedAt
      string
      required
    • documentUrl
      required

      Any of the following:

      • string
      • null
    • email
      required

      Any of the following:

      • string
      • null
    • familyName
      required

      Any of the following:

      • string
      • null
    • givenName
      required

      Any of the following:

      • string
      • null
    • metadata
      optional
      map of
      unknown
  • nextToken
    required

    Send it back as nextToken to read the next page; null on the last page.

    Any of the following:

    • string
    • null

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