oauth

Issues agent access tokens (RFC 6749 sections 4.1.3 and 6).

post/oauth/token

Request

  • Base URL: https://api.pricklymails.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pricklymails.com/oauth/token
  • Auth: none declared

Response

Agent session token issued.

access_tokenstring required

The agent's short-lived access token (a JWT), sent as a Bearer credential.

expires_ininteger required

Seconds until access_token expires.

refresh_tokenstring required

A freshly minted refresh token (RFC 6749 section 5.1), issued on every successful grant (both authorization_code and refresh_token).

scopestring required

The granted scopes, space-delimited (RFC 6749 section 5.1): the agent's own current scopes.

token_typestring required

Always "Bearer".

Changes

No recorded changes to this operation across all 1 revision of this API.