Create Sending Key
Create a sending key for a domain.
Create a new sending key for a domain. Sending keys are used to authenticate email sending requests.
Scope: domains.sending_keys.write
Path Parameters
domain_idintegerrequiredThe ID of the domain.
Request Body
namestringrequiredA descriptive name for the sending key (1–32 characters).
Sample Request
Request
POST https://api.maileroo.com/v1/domains/123/sending-keys
Content-Type: application/json
{ "name": "Production key" }Sample Response
Returns 201 Created with the created sending key object (id, name, sending_key).
201 Created
{
"data": {
"id": 77,
"name": "Production key",
"sending_key": "roo_..."
}
}