POST
/
links
/
generate-slug
curl --request POST \
  --url https://itlinks.to/v1/links/generate-slug \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "domain": "itlinks.to"
  }
}'
{
  "data": {
    "slug": "ExampleSlug"
  }
}

Authorizations

Authorization
string
header
required

Body

application/json

Response

200
application/json

Slug generated successfully.

The response is of type object.