Tracking Links
Use your AccountSID as the username and AuthToken as the password.
Unique identifier for the partner account.
Unique identifier for the brand program the tracking link is for.
The type of tracking link to generate.
Regular: System-generated short link.Vanity: Branded link with a custom path (requiresCustomPath).
RegularPossible values: Custom path that follows the tracking domain (e.g., SummerSale produces https://example.sjv.io/SummerSale). Required when Type=Vanity. If omitted on a vanity link, a random path is generated.
Unique identifier of an ad to deep-link into (see the Partner Ads API). If omitted, the tracking link redirects to the brand's default landing page.
The exact destination URL the tracking link should redirect to after attribution. Use this to send clicks to a specific product page instead of the brand's default landing page.
Unique identifier of the media property (website, social profile, or app) where the link will be used. See the Partner Media Properties API.
Sub-affiliate identifier surfaced as a column in partner performance reports. Use to segment traffic by your own categories.
Additional sub-affiliate identifier surfaced as a column in partner performance reports.
Additional sub-affiliate identifier surfaced as a column in partner performance reports.
Shared identifier surfaced as a column in partner performance reports.
OK — returns the generated tracking link.
The generated tracking link. The path format is /c/{partner-id}/{ad-id}/{program-id} for regular links, or /{CustomPath} for vanity links.
https://example.sjv.io/c/123456/98765/101010Forbidden — returned when the 5,000 vanity link limit is reached or when a referenced resource (e.g., MediaPartnerPropertyId) does not exist.
Last updated
