Configure custom domain
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 for more information.
Custom domains are only available as part of our paid plans, and trial accounts do not include ongoing access to custom domains. The APIs are available for you to trial the feature, but they may be deactivated unless you switch to a paid plan.
Analytic events
- CONFIG_CUSTOM_DOMAIN_CREATE_START
- CONFIG_CUSTOM_DOMAIN_CREATE_SUCCESS
- CONFIG_CUSTOM_DOMAIN_CREATE_FAIL
Request Body schema: required
The custom domain payload
Custom domain created
Bad request, Invalid request body
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 201
- 400
{- "name": "Example Corp",
- "domain": "example.com",
- "verificationToken": "8c6f36c1-91ff-439d-a518-48cf7ef421ef",
- "isVerified": false
}
Retrieve custom domain
Returns your tenant's custom domain configuration and its verification status.
Analytic events
- CONFIG_CUSTOM_DOMAIN_RETRIEVE_START
- CONFIG_CUSTOM_DOMAIN_RETRIEVE_SUCCESS
- CONFIG_CUSTOM_DOMAIN_RETRIEVE_FAIL
Custom domain returned
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 404
{- "name": "Example Corp",
- "domain": "example.com",
- "verificationToken": "8c6f36c1-91ff-439d-a518-48cf7ef421ef",
- "isVerified": true,
- "verifiedAt": "2024-01-31T20:31:48.340Z"
}
Delete custom domain
Deletes the custom domain configuration on your tenant.
Deleting your custom domain configuration breaks the linkage with any credentials issued under the custom domain. These credentials will no longer be valid.
Analytic events
- CONFIG_CUSTOM_DOMAIN_DELETE_START
- CONFIG_CUSTOM_DOMAIN_DELETE_SUCCESS
- CONFIG_CUSTOM_DOMAIN_DELETE_FAIL
Custom domain deleted
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 404
{- "code": "string",
- "message": "string",
- "details": [
- {
- "value": "string",
- "msg": "Invalid value",
- "param": "id",
- "location": "body"
}
]
}
Update custom domain
Updates the custom domain configuration.
Analytic events
- CONFIG_CUSTOM_DOMAIN_UPDATE_START
- CONFIG_CUSTOM_DOMAIN_UPDATE_SUCCESS
- CONFIG_CUSTOM_DOMAIN_UPDATE_FAIL
Request Body schema: application/json
Custom Domain updated
Not Found
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "name": "Example Corp",
- "domain": "example.com"
}
- 200
- 404
{- "name": "Example Corp",
- "domain": "example.com",
- "verificationToken": "8c6f36c1-91ff-439d-a518-48cf7ef421ef",
- "isVerified": true,
- "verifiedAt": "2021-04-15T07:37:25.008Z"
}
Verify custom domain
Verifies that you have control of the configured custom domain by examining its TXT record.
Your custom domain will not be active until you verify it. Refer to Verify domain ownership for more information.
Analytic events
- CONFIG_CUSTOM_DOMAIN_VERIFY_START
- CONFIG_CUSTOM_DOMAIN_VERIFY_SUCCESS
- CONFIG_CUSTOM_DOMAIN_VERIFY_FAIL
Custom domain verified
Bad Request
Not Found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 400
- 404
{- "code": "string",
- "message": "string",
- "details": [
- {
- "value": "string",
- "msg": "Invalid value",
- "param": "id",
- "location": "body"
}
]
}