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" } }
Slug generated successfully.
The response is of type object.
object