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,
"piiAccess": "all"
}Obtain an authentication M2M token with the access token.
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,
"piiAccess": "all"
}Documentation Index
Fetch the complete documentation index at: https://docs.borderless.xyz/llms.txt
Use this file to discover all available pages before exploring further.
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.
all, redacted "all"
Was this page helpful?