GET
/
links
/
count

Authorizations

Authorization
string
headerrequired

Default authentication mechanism

Query Parameters

domain
string

The domain to filter the links by. E.g. ac.me. If not provided, all links for the workspace will be returned.

tagId
string
deprecated

The tag ID to filter the links by. This field is deprecated – use tagIds instead.

tagIds

The tag IDs to filter the links by.

tagNames

The unique name of the tags assigned to the short link (case insensitive).

search
string

The search term to filter the links by. The search term will be matched against the short link slug and the destination url.

userId
string

The user ID to filter the links by.

showArchived
boolean
default: false

Whether to include archived links in the response. Defaults to false if not provided.

withTags
boolean
default: falsedeprecated

DEPRECATED. Filter for links that have at least one tag assigned to them.

groupBy

The field to group the links by.

Available options:
domain

Response

200 - application/json

The number of links matching the query.