v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Get a list of available domains

The endpoint allows to get a list of available domains for shortening URLs

get/shorten/domains

Headers

Authorizationstring required

Bearer: {access_token}

Content-Typestring required

application/json

Request body

namestring

The domain name

availableboolean

Whether the domain is available for use or not.

Response

200

Example response

{
  "domains": [
    {
      "name": "xxxx.xx",
      "available": true
    }
  ]
}