Scripts

List Link Scripts

List all scripts/pixels attached to a link.

Requires: Authenticated user with workspace access.

Blocked by: Link deleted (status=3).

Workspace Type: Classic or Gallery workspaces only.

get/links/{link_id}/scripts

Request

  • Base URL
    https://api.rebrandly.com/v1
  • URL
    https://api.rebrandly.com/v1/links/{link_id}/scripts
  • Auth
    API key in header apikey

Path parameters

link_idstring required

Link public ID

Query parameters

limitinteger

Maximum number of results (default 25, max 25)

orderBystring

Field to sort by

orderDir'asc' | 'desc'

Sort direction

laststring

Cursor for pagination (last item ID from previous page)

Headers

Workspacestring
Example:workspace123abc

Workspace public ID

apikeystring required

API key for authentication

Response

List of scripts attached to the link

idstring required

Script public ID

namestring required
valuestring

Script code/content

createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.