Authentication

Get subscription details

GET/api/auth/subscription

Returns subscription and feature availability for the current user or a specified team the user can access.

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Query parameters

NameTypeDescription
teamIdstringID of the associated team.

Responses

200The operation completed successfully.
NameTypeDescription
anyOfanyOf
200 example
400Bad request.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
400 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example

Code samples

cURL