WarpLink
API Reference

Links

Create, list, get, update, and delete deep links.

POST/links

Create a link

Request Body

FieldTypeDescription
destination_url*string
slugstringCustom slug. Auto-generated if omitted.
ios_urlstring
ios_fallback_urlstring
android_urlstring
android_fallback_urlstring
og_titlestring
og_descriptionstring
og_image_urlstring
tagsstring[]
expires_atstringMust be in the future.
passwordstring
app_idstring

Responses

201Link created
FieldTypeDescription
idstring
short_urlstringe.g. https://aplnk.to/abc123
slugstringe.g. abc123
domainstringe.g. aplnk.to
destination_urlstring
ios_urlstring | null
ios_fallback_urlstring | null
android_urlstring | null
android_fallback_urlstring | null
og_titlestring | null
og_descriptionstring | null
og_image_urlstring | null
app_idstring | null
expires_atstring | null
is_activeboolean
tagsstring[]
created_atstring
updated_atstring
400Validation error
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
409Slug already taken
FieldTypeDescription
error*object
429Rate limit exceeded
FieldTypeDescription
error*object
GET/links

List links

Parameters

NameTypeInDescription
limitintegerquery
offsetintegerquery
tagstringquery
is_active"true" | "false"query
searchstringquery

Responses

200List of links
FieldTypeDescription
dataobject[]
paginationobject
401Unauthorized
FieldTypeDescription
error*object
GET/links/{id}

Get a link

Parameters

NameTypeInDescription
id*stringpath

Responses

200Link details
FieldTypeDescription
idstring
short_urlstringe.g. https://aplnk.to/abc123
slugstringe.g. abc123
domainstringe.g. aplnk.to
destination_urlstring
ios_urlstring | null
ios_fallback_urlstring | null
android_urlstring | null
android_fallback_urlstring | null
og_titlestring | null
og_descriptionstring | null
og_image_urlstring | null
app_idstring | null
expires_atstring | null
is_activeboolean
tagsstring[]
created_atstring
updated_atstring
404Not found
FieldTypeDescription
error*object
PATCH/links/{id}

Update a link

Parameters

NameTypeInDescription
id*stringpath

Request Body

FieldTypeDescription
destination_urlstring
ios_urlstring | null
ios_fallback_urlstring | null
android_urlstring | null
android_fallback_urlstring | null
og_titlestring | null
og_descriptionstring | null
og_image_urlstring | null
tagsarray | null
expires_atstring | null
passwordstring | null
app_idstring | null

Responses

200Updated link
FieldTypeDescription
idstring
short_urlstringe.g. https://aplnk.to/abc123
slugstringe.g. abc123
domainstringe.g. aplnk.to
destination_urlstring
ios_urlstring | null
ios_fallback_urlstring | null
android_urlstring | null
android_fallback_urlstring | null
og_titlestring | null
og_descriptionstring | null
og_image_urlstring | null
app_idstring | null
expires_atstring | null
is_activeboolean
tagsstring[]
created_atstring
updated_atstring
400Validation error
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
DELETE/links/{id}

Delete a link

Parameters

NameTypeInDescription
id*stringpath

Responses

200Deleted link
FieldTypeDescription
idstring
short_urlstringe.g. https://aplnk.to/abc123
slugstringe.g. abc123
domainstringe.g. aplnk.to
destination_urlstring
ios_urlstring | null
ios_fallback_urlstring | null
android_urlstring | null
android_fallback_urlstring | null
og_titlestring | null
og_descriptionstring | null
og_image_urlstring | null
app_idstring | null
expires_atstring | null
is_activeboolean
tagsstring[]
created_atstring
updated_atstring
404Not found
FieldTypeDescription
error*object

On this page