tolt.js
Guides / How To
Customers
Clicks
Commissions
Transactions
Links
Retrieve Link
This endpoint retrieves a tracking link by its ID.
GET
/
v1
/
links
/
:id
Copy
curl -X GET 'https://api.tolt.com/v1/links/lnk_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>'
Copy
{
"success": true,
"data": [
{
"id": "lnk_dK9bzRGn46BhVgNFHD6fDgXW",
"param": "ref",
"value": "michael_scott",
"partner_id": "part_s7mbzRGn46BhVgNFHD6fDgXW",
"created_at": "2025-01-15T14:30:00.000Z",
"updated_at": "2025-01-15T14:30:00.000Z",
"program_id": "prg_YRsbPDAKhWfdqJbFACheh",
"organization_id": "org_JE3mfYNL9ci7sFaJazAv2"
}
]
}
Base URL https://api.tolt.com
Query Parameters
Specify which related objects to include in the response. Valid values are ‘partner’ and ‘program’. Use expand[]=partner or expand[]=program to include the related objects.
Response
Whether the request was successful
Unique identifier for the link
Tracking parameter name
Tracking parameter value
ID of the partner who owns the link
ISO 8601 timestamp of creation
ISO 8601 timestamp of update
Program ID the link belongs to
Organization ID
Copy
//97b4e078-c614-483c-859b-9e447873a024
Copy
{
"success": true,
"data": [
{
"id": "lnk_dK9bzRGn46BhVgNFHD6fDgXW",
"param": "ref",
"value": "michael_scott",
"partner_id": "part_s7mbzRGn46BhVgNFHD6fDgXW",
"created_at": "2025-01-15T14:30:00.000Z",
"updated_at": "2025-01-15T14:30:00.000Z",
"program_id": "prg_YRsbPDAKhWfdqJbFACheh",
"organization_id": "org_JE3mfYNL9ci7sFaJazAv2"
}
]
}
Copy
curl -X GET 'https://api.tolt.com/v1/links/lnk_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>'
Copy
{
"success": true,
"data": [
{
"id": "lnk_dK9bzRGn46BhVgNFHD6fDgXW",
"param": "ref",
"value": "michael_scott",
"partner_id": "part_s7mbzRGn46BhVgNFHD6fDgXW",
"created_at": "2025-01-15T14:30:00.000Z",
"updated_at": "2025-01-15T14:30:00.000Z",
"program_id": "prg_YRsbPDAKhWfdqJbFACheh",
"organization_id": "org_JE3mfYNL9ci7sFaJazAv2"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.