Documentation / Campaign management / Campaign creators

Send a creator their onboarding invite

Email a campaign creator their personal Grade onboarding link.

send a creator their onboarding invite · bash
curl -sS "$BASE_URL/sdk/v1/campaign-creators/CCR_123/onboarding-invite" \
  -X POST \
  -H "X-Application-Id: $APP_ID" \
  -H "X-Api-Key: $API_KEY" \
  -H "X-Idempotency-Key: resend-ccr-123-2026-11-24"
All documentation

POST /sdk/v1/campaign-creators/:campaignCreatorRecordId/onboarding-invite

Emails the creator of one campaign creator record their personal Grade onboarding link. The link opens Grade with the creator's email filled in, so they can sign up or sign in and set up how they get paid.

Grade sends this invite on its own a few minutes after a creator's first payment terms are saved on a campaign with creator onboarding: the contract history response says whether it will. Use this endpoint to send it yourself, one creator at a time, for example again after the creator lost the email, or to a creator whose terms were saved before creator onboarding was switched on for the campaign. In Grade, the campaign's Creators table sends it to one creator or to many at once.

Grade picks the email when it sends it:

  • Set up your Grade account, for a creator who has not finished setting up Grade yet.
  • New contract to sign, for a creator who already accepted the Grade Partner Agreement and finished the ID check and the tax form. Signing in takes them straight to the campaign contract to review and sign.

Both emails come from Grade, name your company and the campaign's brand, never the campaign name, and count toward the same limits below.

A set-up creator who already accepted the current contract for this campaign still gets New contract to sign when you send it again.

Requires the campaigns:write scope. All requests require X-Application-Id and X-Api-Key.

Path parameter

Headers

  • X-Idempotency-Key (optional, up to 100 characters): a retry with the same key returns the first answer instead of sending another email. A key used for another record answers 409 with IDEMPOTENCY_PAYLOAD_MISMATCH.

Limits

  • Onboarding invites must be switched on for the campaign. Grade switches them on per campaign; ask your Grade contact.
  • The creator needs payment terms on the campaign and an email address that can receive email. A creator who signed up for Grade but has not finished setting it up is refused: they continue in Grade, not from an email.
  • At most one invite every 10 minutes, and 5 invites per creator per campaign, counting every invite sent through the API, from Grade or by Grade on its own after the first payment terms. Right after you save first terms, a call can answer 429 INVITE_COOLDOWN because Grade just sent the invite.

Sending to many creators

The API sends one creator per call. Sending to many creators at once, with a preview of who gets an invite and who is skipped, is available in Grade only. From the API, call this endpoint once per creator; the limits above apply to each call.

Example request

curl -sS "$BASE_URL/sdk/v1/campaign-creators/CCR_123/onboarding-invite" \
  -X POST \
  -H "X-Application-Id: $APP_ID" \
  -H "X-Api-Key: $API_KEY" \
  -H "X-Idempotency-Key: resend-ccr-123-2026-11-24"

Response

{
  "success": true,
  "data": {
    "campaignCreatorRecordId": "CCR_123",
    "status": "sent",
    "lastSentAt": "2026-11-24T09:12:00.000Z",
    "sendCount": 2,
    "nextAllowedAt": "2026-11-24T09:22:00.000Z"
  }
}

sendCount counts every invite this creator got for this campaign. nextAllowedAt is the earliest time another invite can go out.

Errors

Errors answer { "success": false, "code": "...", "message": "..." }.

Status code Meaning
400 INVALID_REQUEST, INVALID_IDEMPOTENCY_KEY The record ID or the idempotency key is invalid
400 The request supplies an agencyId
401 Missing or invalid SDK credentials
403 The API key lacks campaigns:write
404 RECORD_NOT_FOUND The record does not exist, was removed, or belongs to another agency
409 ONBOARDING_NOT_ENABLED Onboarding invites are not switched on for this campaign
409 ALREADY_SIGNED_UP The creator signed up for Grade but has not finished setting it up, so they continue in Grade
409 NO_PAYMENT_TERMS The creator has no payment terms on this campaign
409 IDEMPOTENCY_PAYLOAD_MISMATCH The idempotency key was used for another record
409 IDEMPOTENCY_IN_PROGRESS A request with this idempotency key is still running
422 CREATOR_EMAIL_MISSING The creator has no email address
422 CREATOR_EMAIL_UNDELIVERABLE The address bounced, or Grade can't send to this creator
429 INVITE_COOLDOWN An invite went out less than 10 minutes ago; the body has retryAfterSeconds and nextAllowedAt, and the Retry-After header is set
429 INVITE_LIMIT_REACHED The creator already got 5 invites for this campaign
503 INVITE_BUSY Another invite to this creator is being sent; retry in a moment
503 IDEMPOTENCY_UNAVAILABLE Idempotency protection is unavailable; retry the same request and key

Describe your program.

Grade turns it into a program it can track and pay.