/token/obtain

Authenticate and obtain an access token

Endpoint

https://be.progeny.tech/api/v2/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.

Access tokens can also be refreshed using /api/v2/token/refresh/

Sample request

curl --location --request POST 'https://be.progeny.tech/api/v2/token/obtain/'
-F username=<user>
-F password=<password>

‚Äč