Create API Auth Token
/oauth/tokenAuthorization endpoint for gaining token used for API requests requiring bearerAuth.
You will be provided the required client_id and client_secret as part of onboarding.
The returned bearer token will only enable access to endpoints as per your client's defined role. Refer to Access Control for more information.
Request Body
application/json
Response Body
application/json
application/json
curl --request POST \ --url https://auth.mattr.global/oauth/token/ \ --header 'Content-Type: application/json' \ --data '{"client_id": "KWdv9qo9Vnl9rrCRB7sfGKFTp4uO09im", "client_secret": "ztJe2GVpOb1_rUo9Vnl9rrCRB7sfGKFTp4uO0DOfLnA5FSz96wbrzgJMQ", "audience": "https://learn.vii.au01.mattr.global", "grant_type": "client_credentials" }'{
"access_token": "s2dgbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6s2dcaEROemRDf5gbRVEwTTVSVFE0TmtZME9UZzVNVEpDTlVJNFJqRTBPREExTmpZMk1qazFPQSJ9",
"expires_in": 86400,
"token_type": "Bearer"
}{
"error": "access_denied",
"error_description": "Unauthorized"
}How would you rate this page?
Delete a message DELETE
Deletes a message from the requested inbox by providing its ID. ### **Analytic events** * MESSAGING_INBOX_MESSAGE_DELETE_START * MESSAGING_INBOX_MESSAGE_DELETE_SUCCESS * MESSAGING_INBOX_MESSAGE_DELETE_FAIL
Configure custom domain POST
Creates a custom domain configuration on your tenant. You can configure a custom domain for a specific MATTR VII tenant to represent your brand and instil trust with your end-users. Any MATTR VII tenant can only have one custom domain. Refer to our [docs](https://learn.mattr.global/docs/platform-management/custom-domain-overview) for more information. ### **Analytic events** * CONFIG_CUSTOM_DOMAIN_CREATE_START * CONFIG_CUSTOM_DOMAIN_CREATE_SUCCESS * CONFIG_CUSTOM_DOMAIN_CREATE_FAIL