Complete final credential with custom parameters
POST/learningPath/:id/complete-final-credential
Completes the emission of a learning path's final credential once it was left pending awaiting
custom parameters — see the completeParamsViaApi toggle on the learning path's final credential
configuration. Validates that the provided parameters match the ones expected by the final
credential's template before resuming emission. Emission is asynchronous: this returns the
credential's id with its current state. Poll GET /credential/{id} for the final result.
A 404 covers both the learning path not existing for this organization and it holding no final
credential awaiting parameters for this recipient, which is also what a repeated call gets: a
successful one clears the wait. A 409 means the final credential for this path and recipient
already exists, so read its state instead of retrying the call.
Request
Responses
- 200
- 400
- 404
- 409
Successful operation
Bad request
Learning Path not found, or no final credential of it is awaiting parameters for this recipient
DuplicateEmission: the final credential for this path and recipient was already emitted