Progeny Docs
Search
K

/token/obtain

Authenticate and obtain an access token

Endpoint

https://be.progeny.tech/api/v3/accounts/token/obtain/

Purpose

Allows you to exchange the username and password provided by Progeny, for an access token and refresh token.
To access API endpoints that require authentication, you should include the access token in the header of all requests.

Sample request and response

post
https://be.progeny.tech/api/v3/accounts/token/obtain/
Exchange username and password for a token
The "access" token used to make API calls is only valid for five minutes. To obtain a new access token without having to re-enter username/password, use the /refresh endpoint.
post
https://be.progeny.tech/api/v3/accounts/token/refresh/
Get a new access token