Scripts
Attach Script to Link
Attach a script/pixel to a link for tracking purposes.
Requires:
- Feature: links.scripts
Blocked by:
- Link deleted (status=3)
- Revoked workspace
- Revoked domain
Workspace Type: Classic or Gallery workspaces only.
post/links/{link_id}/scripts/{script_id}
Request
- Base URLhttps://api.rebrandly.com/v1
- URLhttps://api.rebrandly.com/v1/links/{link_id}/scripts/{script_id}
- AuthAPI key in header apikey
Path parameters
link_idstring required
Link public ID
script_idstring required
Script public ID to attach
Headers
Workspacestring
Example:workspace123abc
Workspace public ID
apikeystring required
API key for authentication
Response
Script attached successfully
object required
Changes
No recorded changes to this operation across all 1 revision of this API.