cURL
curl --request POST \ --url https://app.botmailroom.com/api/v1/domain/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "domain": "<string>" }'
{ "id": "<string>", "domain": "<string>", "dns_records": [ { "type": "<string>", "name": "<string>", "value": "<string>", "priority": 123, "status": "SUCCESS" } ], "created_at": "<string>" }
Add a custom domain
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object