Create a Domain
Creates a Domain resource.
smtppy.createdomain(domain, isActive)
Parameters
isActive
(boolean) - Domain activation statusdomain
(string) (required) - Domain name. Example:example.com
Response
{
"@context": "string",
"@id": "string",
"@type": "string",
"id": "string",
"domain": "example.com",
"isActive": true,
"createdAt": "2025-04-01T00:00:00.000Z",
"updatedAt": "2025-04-01T00:00:00.000Z"
}
Last updated