POST
/
v1
/
workspaces
/
{workspace_id}
/
domains
curl --request POST \
  --url https://api.ziplink.click/v1/workspaces/{workspace_id}/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "alias": "My Company Marketing Domain",
  "custom_not_found_url": "https://example.com/not-found",
  "domain": "example.com",
  "fallback_domain": "fallback.com"
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

Query Parameters

offset
integer
default:0

Number of resources to skip.

Required range: x >= 0
limit
integer
default:100

Number of resources to return.

Required range: 1 <= x <= 1000

Body

application/json

Response

201
application/json

Example response

The response is of type object.