Request Token (Stream –> DSP)

You will have to build this endpoint into your system. This is where Stream will request and refresh access tokens.

post/stream-dsp/v1/token

Request

Request body

OR

Response

access_tokenstring required
refresh_tokenstring required
expire_timenumber required

Access token expiration, set to UNIX epoch MS time of expiration

refresh_token_expire_timenumber

Refresh token expiration, only use if refresh token rotation not supported

idstring

Provider Account ID for the integration, used to maintain one set of tokens per login

Changes

No recorded changes to this operation across all 3 revisions of this API.