POST
/
link

Authorizations

Authorization
string
headerrequired

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

Body

application/json
workspaceId
string
required

Id of the Workspace

keywordType
string
required

The type slug we use for shortening the url. It can be either HASH or CUSTOM

longUrl
string
required

The long url for shortening

customDomain
string

The custom domain value if have any custom domain setupped in the workspace to create short url. It can be null if not configured

keyword
string

Custom keyword/slug for shortening url if keywordType selected as CUSTOM

Response

200 - application/json
status
boolean
data
object