Skip to content

Generate training certificate

POST
/v1/training/generate-certificate
curl --request POST \
--url https://api.varman.io/v1/training/generate-certificate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "memberId": "mem_abc123", "organizationId": "org_abc123" }'

Generate a training completion certificate that can be shared with auditors or attached as workforce security evidence.

Media typeapplication/json
object
memberId
required

The member ID who completed training

string

Example

mem_abc123
organizationId

Organization ID (deprecated — use auth context)

string

Example

org_abc123

PDF certificate file

Training not complete or member not found