Scripts
List Script Links
List links that use a specific script.
get/scripts/{script_id}/links
Request
- Base URLhttps://api.rebrandly.com/v1
- URLhttps://api.rebrandly.com/v1/scripts/{script_id}/links
- AuthAPI key in header apikey
Path parameters
script_idstring required
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
apikeystring required
API key for authentication
Workspacestring
Example:workspace123abc
Workspace public ID
Response
List of links
Example response
[
{
"id": "abc123def456",
"title": "My Example Link",
"slashtag": "my-link",
"destination": "https://example.com",
"shortUrl": "rebrand.ly/my-link",
"domainId": "domain123abc",
"domainName": "rebrand.ly",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"status": "active",
"description": "This link redirects to our example page",
"https": true
}
]Changes
No recorded changes to this operation across all 1 revision of this API.