Generate access token
POST/api/oauth/v1/token
Exchange your OAuth 2.0 credentials for an access token. Send the clientId and clientSecret issued in the PEP Admin dashboard in the request body; a valid pair returns an accessToken used to authorize subsequent Platform API requests. Request a token once and reuse it across calls, requesting a new one only when it expires. Avoid generating a token per request.
Request
Responses
- 201
- 400
- 401
- 404
- 500
- default
Created
Bad Request
Invalid credentials
Not found
Internal Server Error
An unexpected error response.