This API enables users to get an Access Token for API Client Credentials associated with a particular Client. PlainID uses the API Client Credentials to support secure access to Management using an OAuth Client Credential flow.
Notice
Accessing the Policy Management APIs is through a dedicated domain/URL according to your PlainID Tenant Location:https://api.{REGION}.plainid.io
United States (US) -
https://api.us1.plainid.io
Canada (US) -
https://api.ca1.plainid.io
Europe (US) -
https://api.eu1.plainid.io
Replace{REGION}
with your PlainID Tenant region (e.g. us1, eu1, ca1, etc.).
cURL Sample Guidelines
In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right. They will then appear in the cURL sample on the bottom of the page in the correct format.
{
"grant_type": "client_credentials",
"client_id": "PVNTYSTFE2L9R4OJ9YY5",
"client_secret": "2TdbqLnCyUAAKhj6AcFVuSDDkXRACTYdabcd"
}
OAuth grant type, always set to 'client_credentials'
Client ID associated with the API Client Credentials
Client Secret associated with the API Client Credentials
Successful Operation
OAuth Access Token
Token Type as OAuth standard, always set to 'Bearer'.
Token Duration in seconds.
Unauthorized