RResumezBeta
POSTLive

Batch create achievements

Creates up to 50 achievements in one call with per-item results (AIP-233).

/v1/achievements:batchCreate

Authorization

Credential

oauth_user

Required scopes

profile:write

Request body

JSON · application/json

itemsarrayrequired

Implementation note

Combine with per-item `externalRef` (e.g. github:pr:org/repo#123) so capture agents can re-run safely — a repeated ref updates instead of duplicating.

Error responses

400Invalid request

The request body was missing, malformed, or failed schema validation. Field-level problems are listed under `issues`.

401Authentication required

No valid credentials were supplied. Attach a Bearer access token and retry.

402Upgrade required

The authenticated user's plan does not include this capability. `feature` names the gated capability, `requiredPlan` the cheapest plan that unlocks it, `currentPlan` the user's plan today, and `upgradeUrl` links to checkout. This is a plan gate, not a transient error — retrying without upgrading fails again; surface `upgradeUrl` to the user instead. Dormant until a plan that grants the feature is active, so a route that documents it may not currently return it.

403Insufficient scope

The token is valid but lacks the OAuth scope (or token kind) this endpoint requires.