Complete a flow step task
POST/v1/tasks/flow_steps/:id/complete
Sends the step's email and moves the candidate on. Email steps only: on a LinkedIn step completing records a message as sent without sending one, which an API caller cannot truthfully assert. A task can only be completed by the user it is assigned to.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Task completed
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to run flow tasks, or the API key lacks the flows:write scope (err_insufficient_scope).
Task not found (err_task_not_found).
Validation failed. Error codes:
err_invalid_task_status_transition- the task is in a status this action cannot leaveerr_task_channel_not_completable- the step is not an email steperr_task_body_invalid-bodycould not be rendered, usually an unknown merge tokenerr_on_behalf_of_not_allowed- a personal access token passed another user's IDerr_user_not_found-on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden- that user is not allowed to perform this action