The "Create subaccount" API allows Agents to create a subaccount within the Partner-API. Subaccounts are typically used to manage and send emails from specific domains or for distinct purposes. This API enables Agents to programmatically create a subaccount for their email management needs.
Endpoints Available
Method
Endpoint
Description
POST
v2023.07.31/emails/subaccount
Creates a subaccount with specific configurations and settings
Body Parameters
Parameter
Required / Optional
Description
Data Type
"sending_domain"
Required
Specifies the domain for sending emails from the subaccount
string
"daily_send_limit"
Required
Sets the daily email sending cap for the subaccount in terms of the number of emails
int
"approved"
Required
Indicates whether the subaccount is approved for sending emails, with "true" for approved and "false" for unapproved status
boolean
Response Definition
Response Item
Description
Data Type
"user_id"
The unique identifier for Supplier
int
"sending_domain"
The domain used for sending emails
string
"subaccount_id"
A unique subaccount identifier associated with the user
string
"dns_value"
A DNS verification value used to verify domain ownership
string
"dns_validation_status"
Indicates whether DNS validation is successful (true) or not (false)
boolean
"dkim_value"
The DKIM (DomainKeys Identified Mail) value used for email authentication
string
"dkim_validation_status"
Indicates whether DKIM validation is successful (true) or not (false)
boolean
"daily_send_limit"
The maximum number of emails that can be sent per day
int
"approved"
Indicates whether the user is approved (true) to send emails or not (false)
boolean
"reputation"
A numerical value representing the sender's reputation
int
"sent_monthly"
The number of emails sent in the current month
int
"sent_weekly"
The number of emails sent in the current week
int
"sent_total"
The total number of emails sent
int
"created_at"
The date and time when the user's account was created
date-time
"first_sent_at"
The date and time when the first email was sent by the user