Authorization
Descope Project ID:Access Key Project ID:Access Key as bearer token.
In: header
Request Body
application/json
Exchange API key for access token
This API Endpoint will take an API key for the project and provide an access token to be used for accessing the application.
The session token JWT token will be valid for the configured Session Token Timeout, and its expiration time will be provided in the expiration field of the response object.
curl -X POST "https://api.descope.com/v1/auth/accesskey/exchange" \ -H "Content-Type: application/json" \ -d '{}'{ "keyId": "string", "sessionJwt": "string"}export interface Response {keyId?: stringsessionJwt?: string}Reset Password POST
### Sent a password reset email to an existing user utilizing the password API. ### Next Steps You will then need to verify the user after the password reset is sent via email, this would need to be done via [Verify Magic Link](/api/magic-link/verification/verify-token). ### See Also - See [The User Object](/api/overview#the-user-object) for further details on how to identify users and their contact information such as email addresses and phone number. - You can also utilize [Update Password](/api/passwords/update-password) or [Replace Password](/api/passwords/replace-password) as alternatives to change a user's password.
Token Validation Key (V1) GET
### Get public key for session token validation (V1) This API endpoint will return the public key needed to handle the session token JWT validation. `projectId` is provided as a GET parameter, so this endpoint can be executed with a browser.