Scripts

Create Script

Create a new tracking script/pixel in the workspace.

Requires:

  • Feature: links.scripts
post/scripts

Request

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

Headers

Workspacestring
Example:workspace123abc

Workspace public ID

apikeystring required

API key for authentication

Request body

namestring required
valuestring required

Response

Script created

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.