auth
Obtain Access Token
Authentication provides an access token in the response that is required for making requests to the API. Access tokens are active for 1-hour, you should request a new token before the current token expires. The access token provided in the response must be supplied in the standard HTTP Authorization header as Bearer token authentication to make requests to the API.
post/auth/token
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Example response
{
"access_token": "EXAMPLE_ACCESS_TOKEN",
"token_type": "Bearer",
"expires_in": 3599,
"scope": "authorized",
"created_at": 1686949418,
"id": 1,
"name": "John Doe",
"email": "user@example.com",
"gravatar": "https://www.gravatar.com/avatar/3b0e9a78b5621fce924f7ce107180970371cf75f565dfaa5e4babe2e4866422a?d=mp",
"scopes": [
"authorized",
"owner"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.