logo
EndpointsCreate alias for authenticated owner
Endpoints

Create alias for authenticated owner

Accepts alias_handle and alias_domain in JSON body or query.

curl -X POST "https://mail.haltman.io/api/alias/create?alias_handle=example_string&alias_domain=example_string" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "alias_handle": "example_string",
  "alias_domain": "example_string"
}'
{
  "ok": true,
  "created": true,
  "address": "123 Main St",
  "goto": "example_string"
}
POST
/api/alias/create
POST
Security Scheme
API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

ApiKeyAuth
header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Query Parameters

Responses

okboolean
createdboolean
addressstring
gotostring
Was this page helpful?
Built with Documentation.AI

Last updated 1 week ago