Domains
Get Email Receiving Config
Returns inbound capability state, the MX records to add, and receiving status.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project that owns the domain.
domainIdrequiredstring
ID of the domain.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/projects/string/domains/string/receiving-config"{
"capabilityEnabled": true,
"records": [
{
"name": "string",
"priority": 0,
"record": "string",
"status": "string",
"ttl": "string",
"type": "string",
"value": "string"
}
],
"status": "INACTIVE"
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}