Verify a Sending domain
PUT/v1/domain/verify/:domain
This endpoint verifies a domain
Request
Query Parameters
domain stringrequired
Domain Payload
Responses
- 200
- 400
- 404
Domain verified successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
records
object
property name*
object
key string
type string
value string
verified boolean
success boolean
{
"message": "domain added",
"records": {},
"success": true
}
error: Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
records
object
property name*
object
key string
type string
value string
verified boolean
success boolean
{
"error": "Invalid DNS records",
"records": {},
"success": false
}
error: Not Found
- application/json
- Schema
- Example (from schema)
Schema
error string
records
object
property name*
object
key string
type string
value string
verified boolean
success boolean
{
"error": "Invalid DNS records",
"records": {},
"success": false
}
Loading...