Download OpenAPI specification:Download
Part of the REST API v2 Reference.
Operations about Identity and Access Management.
POST /projects/{project_id}/apps/{app_id}/authenticateIssues a short-lived RevenueCat access token for the given app_user_id, scoped to the app. The token authenticates the subscriber and is not backed by an IAM user; no id token or refresh token is returned. This endpoint requires the following permission(s): iam:authorization:issue_token. This endpoint belongs to the Iam domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id required | string <= 255 characters Example: app1ab2c3d4 ID of the app |
| app_user_id required | string [ 1 .. 1500 ] characters The app user ID of the subscriber to authenticate. |
{- "app_user_id": "19b8de26-77c1-49f1-aa18-019a391603e2"
}{- "object": "authentication",
- "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6InNrXzEyMyJ9.eyJzdWIiOiJhcHBfdXNlcl8xMjMifQ.signature",
- "expires_at": 1658399423658
}All API v2 resources, one page each. General concepts (authentication, pagination, rate limits, error handling) live on the API v2 overview.