Links
Create Link
Create a new link for the authenticated workspace.
POST
/
link
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
workspaceId
string
requiredId of the Workspace
keywordType
string
requiredThe type slug we use for shortening the url. It can be either HASH
or CUSTOM
longUrl
string
requiredThe 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