VerifycateDeveloper Docs

Bulk recipient actions

POST/api/v1/workspaces/{slug}/certificates/{id}/recipients/bulk

Issue, reissue, remind, expire, or delete many recipients in one call

Applies one action to many recipients of a certificate. Name the recipients explicitly with issue_ids, or describe them with a filter and let the API resolve it — useful when the cohort is larger than a page.

Recipients the action cannot apply to are reported as skipped rather than failing the call, so a mixed selection does the obvious thing.

Authorization

Scopecertificates:write
Authorization: Bearer vc_...

Requires certificates:write (or full access).

Parameters

Path parameters

slug*string
Workspace slug. When authenticated with a workspace API key, send `current` to use the key's workspace.
id*string
Certificate id (UUID)

Body parameters

action*string
The action to apply to the selection Example: issue
exclude_ids?string[]
Recipients deselected from a filter selection Example: ["3f2c1b7a-9d4e-4c1a-9b2e-7f8e1d2c3b4a"]
?BulkRecipientsFilter
Select every recipient matching this filter instead of listing ids
design_version?integer
A certificate design document version number, as used by the list endpoint Example: 3
engagement_status?string
An engagement status value, as used by the list endpoint Example: email_opened
status?string
A recipient status value, as used by the list endpoint Example: issued
issue_ids?string[]
Explicit selection of recipient issue ids; mutually exclusive with filter Example: ["7c1f0a5e-0f2b-4a1c-9f4d-2b3c4d5e6f70"]

What each action does

ActionApplies toEffect
issuePending recipientsIssues and emails their certificate. Costs one credit each.
reissueIssued recipients on an older designIssues a new version on the latest published design and emails them. Costs one credit each.
remindPending recipients behind an unlock formSends a fresh unlock link, retiring the previous one. Free.
expireIssued recipientsSets expiry to now, so the certificate stops verifying. No email, no credit.
deleteAny recipientRemoves the recipient. Issued certificates stop resolving publicly and credits are not returned.

issue and remind are rejected while the certificate is a draft: publishing it (PATCH /certificates/{id} with status: "active") delivers every queued recipient in one step.

Batching

issue, reissue, and remind process at most 200 recipients per call. remaining reports how many eligible recipients are left — repeat the same request until it reads 0. expire and delete are not batched.

Credits for issue are checked once for the whole batch, so a shortfall returns 402 before anything is charged.

Response schema

?BulkRecipientError[]
Sample of per-row failures, capped at 10
code*string
Stable machine-readable error code Example: insufficient_credits
issue_id*string
Issue id that failed Example: 7c1f0a5e-0f2b-4a1c-9f4d-2b3c4d5e6f70
message*string
Human-readable failure reason Example: not enough credits to issue certificates
failed*integer
Eligible recipients whose action failed Example: 0
matched*integer
Recipients the selection resolved to Example: 120
remaining*integer
Eligible recipients left over the chunk cap; call again to continue Example: 0
skipped*integer
Matched but not eligible for this action, so nothing was attempted Example: 2
succeeded*integer
Recipients this action changed Example: 118