API ReferenceDomainsAssign to Group
Assign Domain to Group
Assign an existing domain to a specific domain group to manage domain routing and configurations together.
PUT
https://wapi.simplysend.email/web-setup/domains/{domainId}/assign-groupParameters
domainIdRequiredstring
The unique ID of the domain.
groupIdRequiredstring
The unique ID of the group.
RequestPUT
curl -X PUT https://wapi.simplysend.email/web-setup/domains/{domainId}/assign-group \
-H "X-Api-Key: your_api_key" \
-H "X-Id: your_account_id" \
-H "Content-Type: application/json" \
-d '{
"groupId": "new_group_id_here"
}'Response
{
"success": true,
"data": {
"message": "Domain assigned to group successfully",
"domainId": "domain_1768776641476_d8vc40fk647",
"groupId": "new_group_id_here"
}
}