Public
Sessions
Sign in (first-party)
First-party email/password login. Returns a Doorkeeper access token in JSON — same fields as POST /oauth/token with grant_type=password, plus user_id. Does not require client_id / client_secret in the request (the server uses the configured first-party OAuth application). For third-party or strict OAuth clients, call POST /oauth/token on the host root instead (see OAuth tag).
post/users/sign-in
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/users/sign-in
- Auth: none declared
Request body
Response
Success — Doorkeeper access token; includes user_id for convenience.
Example response
{
"token_type": "Bearer"
}Changes
No recorded changes to this operation across all 3 revisions of this API.