Skip to main content
POST
/
v1
/
training
/
generate-certificate
Generate training completion certificate PDF
curl --request POST \
  --url http://localhost:3333/v1/training/generate-certificate \
  --header 'Content-Type: application/json' \
  --header 'x-internal-token: <x-internal-token>' \
  --data '
{
  "memberId": "mem_abc123",
  "organizationId": "org_abc123"
}
'

Headers

x-internal-token
string
required

Internal API token for service-to-service calls

Body

application/json
memberId
string
required

The member ID who completed training

Example:

"mem_abc123"

organizationId
string
required

The organization ID

Example:

"org_abc123"

Response

PDF certificate file