Retrieve a list of links
Retrieve a list of links for the authenticated workspace. The list will be paginated and the provided query parameters allow filtering the returned links.
Authorizations
Default authentication mechanism
Query Parameters
The ID of the workspace the link belongs to.
The domain to filter the links by. E.g. ac.me
. If not provided, all links for the workspace will be returned.
[DEPRECATED] (use tagIds instead): The tag ID to filter the links by.
The tag IDs to filter the links by.
The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
The user ID to filter the links by.
Whether to include archived links in the response. Defaults to false
if not provided.
Whether to include tags in the response. Defaults to false
if not provided.
The field to sort the links by. The default is createdAt
, and sort order is always descending.
createdAt
, clicks
, lastClicked
The page number for pagination (each page contains 100 links).
Response
A list of links
The response is of type object[]
.