Create a new domain
POST/v1/domain/add
This endpoint creates a new domain
Request
- application/json
Body
required
Domain Payload
domain stringrequired
ips string[]
is_tenant_domain boolean
is_tenant_subdomain boolean
selector string
shared_with_subaccounts boolean
Responses
- 200
- 400
- 404
Domain added successfully
- application/json
- Schema
- Example (from schema)
Schema
mailer_id string
message string
receiving_records
object
property name*
object
key string
type string
value string
verified boolean
sending_records
object
property name*
object
key string
type string
value string
verified boolean
verified boolean
{
"mailer_id": "string",
"message": "event success",
"receiving_records": {},
"sending_records": {},
"verified": true
}
error: Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
error: Not Found
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...