Retrieve user identity

View as MarkdownOpen in Claude

Internal endpoint. Returns the minimal identity fields (id, user_type) for the token owner. Intended for machine-to-machine use by AWS microservices that need to authenticate a user without the overhead of the full /users/me/ payload.

Add an Authorization header with the value Token <your token>.

Authentication

AuthorizationToken
The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings. Your API token does not have an expiry date and carries full permission, so be sure to keep them secure. If your token is leaked, delete it and create a new one directly in the app. In your requests add `Authorization` header with the value `Token <your token>`.

Response

Successful Response
idstring
user_typeenum

Errors

4XX
Client Request Error