Endpoints

Links

Operations around Links management.

Endpoints


Returns all user links.

Parameters

ParameterTypeDescription
searchstring(optional) Search text.
pagenumber(optional, default 1) Determines page.
pageSizenumber(optional) Determines how many results to return.

Sample response


POST /api/links#

Creates a link.

Parameters

ParameterTypeDescription
namestringThe link's name.
urlstringThe link's destination URL.
slugstringThe link's URL slug (minimum 8 characters).
teamIdstring(optional) The ID of the team the link will be created under.

Request body

Sample response


GET /api/links/:linkId#

Gets a link by ID.

Sample response


POST /api/links/:linkId#

Updates a link.

Parameters

ParameterTypeDescription
namestring(optional) The link's name.
urlstring(optional) The link's destination URL.
slugstring(optional) The link's URL slug (minimum 8 characters).

Request body

Sample response


DELETE /api/links/:linkId#

Deletes a link.

Sample response