Agent skills

Give an agent one skill at a time. The operator creates one key on the company credentials page. The path chooses the role: /api/v1/affilink/client, /influencer, or /creator.

Before the first call

  • Store the secret on the operator’s server. The agent signs with that secret. It does not create or rotate the key.
  • Confirm the role with Sign a request. permission_denied means that role’s sub-account is missing or inactive, or the client that owns the key is not active. Stop.
  • Field lists live on the AffiLink API page. These skills say which call to make and what to keep.

Out of scope

Do not upload media, create campaigns, buy ads, or touch communities, invoices, payouts, discounts, or help articles. Creator files are uploaded in the app. Approving a destination does not publish the content.

Skills

  • Sign a request

    Build the HMAC payload, call the role identity route, and stop on an auth error.

  • Read products

    List and open products. The client path is that brand. Other paths are active brands.

  • Read campaigns

    List campaigns and commissions. A client path can launch a draft or pause a live campaign.

  • Deploy an affilink

    On the influencer path, pick active content, create a link, and keep the public URL.

  • Submit content

    On the creator path, submit a draft that already has media. This skill does not upload files.

  • Review destinations

    On the client path, approve or reject a pending product-page destination. That does not publish the content.

  • Read earnings

    Read wallet balances, content and affilink earnings, and client conversions.