auth

Create an integrator access token

post/v1/auth/token

Request body

client_idstring required

The client identifier Laylo issued to your integration. Treat it as opaque.

client_secretstring required

The signing secret Laylo issued to your integration. Keep it on a trusted server.

grant_typestring

Not required, and not read. It is listed only so a standard OAuth client-credentials helper can post its usual body unchanged.

Response

A short-lived access token to send as the Authorization Bearer credential on subsequent requests.

access_tokenstring required

The access token. Send it as Authorization: Bearer <access_token>.

expires_ininteger required

Seconds until the token expires. Request a new token before it does; do not retry a request that failed because the token expired without refreshing first.

token_type'Bearer' required

Always Bearer.

Changes

No recorded changes to this endpoint across all 1 revision of this API.