Links

/v1/links/:id/scripts

Get all scripts attached to a specific link

get/v1/links/{id}/scripts

Request

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

Path parameters

idstring required

Unique identifier of the Link resource

Query parameters

orderDirstring

Sorting direction to apply to your scripts collection

orderBystring

Sorting criteria to apply to your scripts collection. The only available option is by name property.

limitinteger

How many scripts to load (max: 25)

laststring

The id of the last script you fetched, see Infinite Scrolling section

Headers

workspacestring

Which workspace id to filter links by. No workspace specified will select main workspace.

Response

200

idstring
namestring
uristring

Example response

[
  {
    "id": "ftag4cc5b6ee45d6g7897b06ac2d16af",
    "name": "Test alert",
    "uri": "https://custom.rebrandly.com/user/abcdecc5b6ee45d6g7897b06ac2d1xyz"
  }
]

Changes

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