List Links (POST)

Lists the available links.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
objectstringRequiredformat: "id"
The ID of the object to list the links for.
cursorstringOptionalformat: "text"
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
directionenumOptional
The direction of link, which can either be outbound such that the object is the source of the link, otherwise inbound where the object is the target of the link.
Allowed values:
limitintegerOptional
The maximum number of links to return. If not set, then the default is '50'.
modeenumOptional

The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.

Allowed values:
object_typeslist of enumsOptional
The object types to filter for, otherwise if not present, all object types are included.
typeslist of enumsOptionalDeprecated
The link types to filter for, otherwise if not present, all link types are included.

Response

The response to listing the links.
next_cursorstring or nullformat: "text"
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursorstring or nullformat: "text"
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.

Errors