The Open API specification for Synapse is now available for download!

Download Open API Spec

POST /personalAccessToken

Issues a personal access token to authorize scoped access to Synapse resources.

Note: The scope of the personal access token is the intersection of the request scope and the scope of the access token used to authorize the request and also omits `authorize` scope. That is, the returned token cannot have `authorize` scope and cannot have greater scope than the token used to authorize this request.

To use the token to authorize other requests to Synapse, use the HTTP header `Authorization: Bearer token`. The token will expire if unused for 180 days. The token cannot be re-retrieved after the initial creation.

Resource URL

https://repo-prod.prod.sagebase.org/auth/v1/personalAccessToken

Resource Information
Authentication Required
Required OAuth Scopes authorize
HTTP Method POST
Request Object AccessTokenGenerationRequest
(application/json)
Response Object AccessTokenGenerationResponse
(application/json)