Documentation

Create Credential Record

POST /training/record_add/{training_id}

Path Parameters

Parameter Type Required Description
training_id string Yes ID of the credential type

Request Body

Required Fields

Field Type Required Description
user_id string No* ID of the user to add the credential to
user_ids array of strings No* IDs of multiple users to add the credential to

* You must include either user_id OR user_ids, but not both.

Optional Fields

Field Type Default Description
expires date string Expiration date for the credential
note string Note associated with the credential
performed_by string Who performed or issued the credential
earned_on string When the credential was earned
silent boolean false Whether to suppress notifications
expire_old boolean true Whether to expire old records for this user and credential
meta_data string JSON-encoded metadata, for example "{\"source\":\"orientation\"}".
return_data boolean true Set false to return an empty object in data.

Response

data contains one credential record for a single created record, or an array for multiple records.

See the Credentials API overview for related endpoints and shared data structures.