Companies

Get company access token

Changed on

Use the Get company access token endpoint to return an access token for the specified company ID. The token is valid for one day.

The token is required by Codat's embeddable UIs (such as Connections SDK and Link SDK) to verify the identity of the user and improve the reliability of data provided by them.

get/companies/{companyId}/accessToken

Request

  • Base URL
    https://api.codat.io
  • URL
    https://api.codat.io/companies/{companyId}/accessToken
  • Auth
    API key in header Authorization

Path parameters

companyIdstring uuid required

Unique identifier for your SMB in Codat.

Example:8a210b68-6988-11ed-a1eb-0242ac120002

Unique identifier for a company.

Response

OK

CompanyAccessToken required(unresolved $ref)

Changes

    • info

      for the path request parameter companyId, the type was generalized from no type to string, and format from no format to uuid

    • info

      for the path request parameter companyId, the type was generalized from string to no type, and format from uuid to no format