Skip to main content

POST /sdk/v1/campaign-media/eligibility-scores/bulk

Applies eligibility scores to up to 500 tracked posts. Grade verifies every campaignCreatorMediaId belongs to your agency before saving it. All requests require X-Application-Id and X-Api-Key.

Body

scores is a non-empty array with no more than 500 items. Each item requires:
  • campaignCreatorMediaId: the ID returned by campaign media or the eligibility score list.
  • score: a number from 0 through 100. Values are stored to two decimal places.
Each media ID can appear only once in a request.

Example request

Response

The response follows the input order and reports each item separately. Media that was not found or does not belong to your agency is skipped.
After scores are applied, Grade refreshes the affected creators’ calculated payment summaries.

Common errors

  • 400: empty batch, invalid score, duplicate media ID, or more than 500 items
  • 401: missing or invalid SDK credentials