Authentication
To make API calls on PEZESHA, you’ll have to pass a Bearer Token
To generate a token you simply
Request credentials from PEZESHA (Client ID, Client Name & Client Secret)
Make API call to
{{BASE_URL}}/oauth/token
passing in your API Credential. Doesn't have mfi prefixYou'll be authenticated and receive a token to process further API calls
Authorization: Bearer {token}
AUTH Token
POST
{{https://api.pezesha.com or https://dev.api.pezesha.com}}/oauth/token
Use this endpoint to generate an JWT to be used for authentication in further API calls
Headers
Name
Type
Description
Content-Type
string
Default (application/x-www-form-urlencoded)
Request Body
Name
Type
Description
grant_type
string
Default (client_credentials)
provider
string
Default (users)
client_secret
string
Provided by Pezesha
client_id
string
Provided by Pezesha
{
"token_type": "Bearer",
"expires_in": 86400,
"access_token": "ACCESS_TOKEN_HERE"
}
Last updated
Was this helpful?