Send training completion email with certificate
POST
/v1/training/send-completion-email
const url = 'https://api.varman.io/v1/training/send-completion-email';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"memberId":"mem_abc123","organizationId":"org_abc123"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/training/send-completion-email \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "memberId": "mem_abc123", "organizationId": "org_abc123" }'Send training completion email with certificate in Varman. Run the training library (videos and interactive lesson courses with quizzes), assign courses to groups, track completion and quiz scores, export evidence and generate certificates.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
memberId
required
The member ID who completed training
string
Example
mem_abc123organizationId
Organization ID (deprecated — use auth context)
string
Example
org_abc123Responses
Section titled “Responses”Email sent or reason why it was not sent
Media typeapplication/json
object
sent
required
Whether the email was sent
boolean
reason
Reason if email was not sent
string
Example
{ "sent": true, "reason": "training_not_complete"}