POST

Create domain

https://linkshift.app/api/v1/domains

Creates a new domain in a target domain group after uniqueness and ownership checks.

Operation ID:createDomainTags: Domains

Security

  • ApiKeyAuth: apiKey | header:X-API-Key | API key generated in LinkShift dashboard (`Organization -> Manage API keys`).

Parameters

This endpoint has no parameters.

Request body schema

requestBodyobjectrequired
Payload for creating a domain.
domainGroupIdstringrequired
Target domain-group ID.
namestringrequired
Fully qualified domain name.

Response schema

Created domain

Content type: application/json
response 200objectrequired
Domain entity assigned to a domain group.
createdAtstringrequired
Creation timestamp (UTC).
format: date-time
deletedAtstring | nullnullable
Soft-delete timestamp in UTC when deleted.
format: date-time
domainGroupIdstringrequired
Parent domain-group ID.
idstringrequired
Domain ID.
namestringrequired
Fully qualified domain name.
updatedAtstringrequired
Last update timestamp (UTC).
format: date-time