For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tracking Links

Generate a Tracking Link

post

Creates a new tracking link for a specified media partner within a given program.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Your unique Account SID.

ProgramIdintegerRequired

The unique identifier for the program (campaign).

Query parameters
MediaPartnerIdintegerRequired

The unique identifier for the media partner who will be assigned the tracking link.

Body
Typestring · enumOptional

The type of tracking link to generate.

Possible values:
CustomPathstringOptional

A custom path for the link, used when Type is 'Vanity'.

Example: summer-sale
AdIdintegerOptional

The unique identifier for the ad to associate with this link.

Example: 656565
DeepLinkstring · uriOptional

A specific URL to redirect the user to, overriding defaults.

Example: https://www.acme.com/products/tennis-balls
MediaPartnerPropertyIdintegerOptional

The ID of the partner's specific media property where the link will be used.

Example: 12345
Responses
200

The tracking link was generated successfully.

application/json
TrackingURLstring · uriOptional

The generated tracking link.

Example: https://example.sjv.io/c/123456/98765/101010
post/Advertisers/{AccountSID}/Programs/{ProgramId}/TrackingLinks
cURL
200

The tracking link was generated successfully.

Last updated