Obtain authentication M2M tokens
curl --request POST \
--url https://sandbox-api.borderless.xyz/v1/auth/m2m/token \
--header 'Content-Type: application/json' \
--data '
{
"clientId": "<string>",
"clientSecret": "<string>",
"piiAccess": "all"
}
'{
"accessToken": "<string>",
"tokenType": "<string>",
"expiresIn": 123
}Authentication
Obtain authentication M2M tokens
Obtain an authentication M2M token with the access token.
POST
/
v1
/
auth
/
m2m
/
token
Obtain authentication M2M tokens
curl --request POST \
--url https://sandbox-api.borderless.xyz/v1/auth/m2m/token \
--header 'Content-Type: application/json' \
--data '
{
"clientId": "<string>",
"clientSecret": "<string>",
"piiAccess": "all"
}
'{
"accessToken": "<string>",
"tokenType": "<string>",
"expiresIn": 123
}Body
application/json
The client Id for M2M authentication. Can be obtained this from Dashboard. Learn more at M2M Authentication Guide.
The client Secret for M2M authentication. Can be obtained this from Dashboard. Learn more at M2M Authentication Guide.
PII access level for the token. Defaults to all if not provided.
Available options:
all, redacted Example:
"all"
Was this page helpful?
⌘I