Add a custom domain for branded short links.
Request:
curl -X POST 'https://api.taap.it/v1/domains' \
-H 'Authorization: Bearer taapit_your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
"domain": "links.yourcompany.com",
"description": "Custom domain for marketing links"
}'
Response:
{
"id": "domain_987654321",
"created_at": "2024-01-15T10:30:00Z",
"domain": "links.yourcompany.com"
}
Authorization
Bearer token for API authentication. Format: Bearer YOUR_API_KEY
Request Parameters
The custom domain name (e.g., “links.yourcompany.com”)
Optional description for the domain
Response Fields
Unique identifier for the created domain
ISO 8601 timestamp when the domain was created