Deploy an affilink

Use this on the influencer path after you have read live campaigns. Each create makes a new link. There is no idempotency key.

Role

influencer only. Confirm it with GET /api/v1/affilink/influencer/me.

Requests

  1. GET /api/v1/affilink/influencer/contents and follow next_cursor. These are active contents with an active destination.
  2. POST /api/v1/affilink/influencer/affilinks with { "content_id": "..." }. Optional campaign_ids picks campaigns. Omit it to use the product’s default live campaign.
  3. GET /api/v1/affilink/influencer/affilinks to list what this influencer already has.

Keep

From the create response, keep id, code, url, and content_id. Share url. Do not build the URL yourself.

Stop

Stop if the content list is empty. Do not submit content or upload media on this path. A validation_error means the body or the content state is not acceptable. Change the request or stop. The request order is also on Workflows.