Authentication

You'll need to authenticate your requests to access any of the endpoints in the MPODx API. In this guide, we'll look at how authentication works. MPODx uses OAuth2 with a token for authentication.

OAuth2 with bearer token

The recommended way to authenticate with the MPODx API is by using OAuth2. When establishing a connection using OAuth2, you will need your access token — you will find it in the MPODx Setting - API Keys section of our dashboard, or issued by your MPODx representative. Here's how to add the token to the request header using cURL:

Example request with bearer token

curl https://api.mpodx.com/v1/connect \
  -H "Authorization: Bearer {token}"

Always keep your token safe and reset it if you suspect it has been compromised.

Was this page helpful?