POST
/
api
/
user
/
urls
Shorten URL
curl --request POST \
  --url https://srbx.co.uk/api/user/urls \
  --header 'Content-Type: application/json' \
  --data '{
  "destination": "<string>",
  "vanity": "<string>",
  "enabled": true
}'
authorization
string
required
Your token from the API.
destination
string
required
Where you want the URL to go to.
vanity
string
Custom URL link.
enabled
boolean
default:"true"
required
Determins whether it is enabled or not.