auth_endpoints
Generate token
Client credentials in the request-body and HTTP Basic Auth are supported.
post/v1/auth/token
Request
- Base URLhttps://partners.tryotter.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Example request
{
"scope": "ping",
"code": "8A9D16B4C3E25F6A",
"redirect_uri": "https://example.com/callback",
"code_verifier": "Th7UHJdLswIYQxwSg29DbK1a_d9o41uNMTRmuH0PM8zyoMAQ"
}Response
The token was successfully generated.
Example response
{
"access_token": "oMahtBwBbnZeh4Q66mSuLFmk2V0_CLCKVt0aYcNJlcg.yditzjwCP7yp0PgR6AzQR3wQ1rTdCjkcPeAMuyfK-NU",
"expires_in": 2592000,
"scope": "ping orders.create",
"token_type": "bearer"
}Changes
No recorded changes to this operation across all 1 revision of this API.