Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

When CatchLite is integrated into a 3rd party Host App, the Host App must initialise the CatchLite Library with a user authentication token. This token, acquired from the Catch API via the integrator's own cloud endpoint, represents a unique user within the Catch system that is mapped to a corresponding user within the integrator's system via unique string identifier. This identifier may be chosen by the integrator, is permanent, and should be maintained by the integrator for subsequent requests scoped to the same host user.

Request

POST https://api.catchapi.com/api/integrator/users/v1/request_auth_token

api-key

Catch API key. This will be issued and shared as part of integrator onboarding.

Request Body

Name
Value
Notes

identity

<string>

Identifier uniquely identifying a user in the integrator's system.

This could be a sequentially allocated numeric identifier, or a UUID. It is recommended that the identifier be anonymous.

Response

Status Code
Meaning

200

Success, User is an existing user

201

Success, User is a new user

Initialising the library

The token provided in the authntication respose should then be used to initialise the library.

Last updated