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"
}
'Generates a PDF certificate for a member who has completed all training videos. Returns the PDF as a downloadable file.
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"
}
'Was this page helpful?