openapi: 3.0.0 info: contact: name: Onfido url: https://public.support.onfido.com description: "\nCreate trust at onboarding and beyond with a complete, AI-powered digital\nidentity solution built to help you know your customers online. \nAutomation allows you to acquire new customers and reduce costs while\nmeeting global KYC and AML compliance." license: name: MIT title: Onfido Complete API version: v3.6 servers: - url: https://api.{region}.onfido.com/v3.6 variables: region: default: eu enum: - eu - us - ca security: - Token: [] tags: - name: Complete paths: /workflow_runs/{workflow_run_id}/tasks/{task_id}/complete: post: description: 'Completes a Send / Receive Data Task. ' operationId: complete_task parameters: - description: The unique identifier of the Workflow Run to which the Task belongs. in: path name: workflow_run_id required: true schema: format: uuid type: string - description: The identifier of the Task you want to complete. in: path name: task_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/complete_task_builder' required: true responses: '200': description: An empty response body. default: content: application/json: schema: $ref: '#/components/schemas/Error' description: Unexpected error summary: Complete Task tags: - Complete components: schemas: ErrorProperties: example: type: type message: message fields: key: '' properties: type: type: string message: type: string fields: additionalProperties: true type: object title: ErrorProperties type: object Complete_Task_Data_Builder: description: The Task completion payload. oneOf: - items: type: object type: array - type: object title: Complete Task Data Builder Error: example: error: type: type message: message fields: key: '' properties: error: $ref: '#/components/schemas/ErrorProperties' title: Error type: object complete_task_builder: properties: data: $ref: '#/components/schemas/Complete_Task_Data_Builder' required: - data type: object securitySchemes: Token: in: header name: Authorization type: apiKey externalDocs: url: https://documentation.onfido.com