openapi: 3.0.3 info: title: Willo Integration API V2 Child Organisations Users API description: 'The Willo Integration API V2 exposes the actions that can be carried out in the Willo asynchronous ("one-way") video interviewing platform as a public REST API, so you can add video interviewing to a job board, ATS, CRM, or staffing platform. Resources include Departments (called "Companies" in the UI), Interviews (the set of pre-defined questions a participant answers - typically a "job" in an ATS), Participants (candidates - no login or app required), their video Responses and identity-verification media, Message Templates (invite/reminder/success email and SMS), Users, Webhooks, Interview Templates, and Child Organisations. Authentication is by API key ("integration key") passed in the Authorization header; each user has their own key from the Willo Integrations page. All requests must be made over HTTPS. Endpoint paths, HTTP methods, authentication, status codes, webhook triggers, and the two host environments below are confirmed from Willo''s published Postman API reference. Request and response body schemas are modeled from the documented resource glossary and are illustrative; confirm exact field names and shapes against the live Willo reference before production use.' version: '2.0' contact: name: Willo url: https://www.willo.video/api termsOfService: https://www.willo.video/terms servers: - url: https://api.willotalent.com/api/integrations/v2 description: Production - url: https://api.stage.willotalent.com/api/integrations/v2 description: Staging security: - apiKeyAuth: [] tags: - name: Users description: Authenticated team members (Owner, Admin, Standard) with access to interviews and participants. paths: /users/: get: operationId: listUsers tags: - Users summary: List Users description: Lists the users (Owner, Admin, Standard) in the account. responses: '200': description: A list of users. content: application/json: schema: type: object properties: results: type: array items: $ref: '#/components/schemas/User' '401': $ref: '#/components/responses/Unauthorized' post: operationId: inviteUser tags: - Users summary: Invite User description: Invites a new user to the account with a given role. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UserInput' responses: '201': description: The invited user. content: application/json: schema: $ref: '#/components/schemas/User' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' /users/{key}/: parameters: - $ref: '#/components/parameters/Key' get: operationId: getUser tags: - Users summary: User Details description: Retrieves a single user. responses: '200': description: The requested user. content: application/json: schema: $ref: '#/components/schemas/User' '401': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/NotFound' patch: operationId: updateUser tags: - Users summary: Update User (PATCH) description: Partially updates a user (for example, their role or permissions). requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UserInput' responses: '200': description: The updated user. content: application/json: schema: $ref: '#/components/schemas/User' '401': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/NotFound' delete: operationId: deleteUser tags: - Users summary: Delete User description: Removes a user from the account. responses: '204': description: The user was deleted. '401': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/NotFound' components: schemas: User: type: object description: An authenticated team member. properties: key: type: string first_name: type: string last_name: type: string email: type: string format: email role: type: string enum: - owner - admin - standard UserInput: type: object required: - email - role properties: first_name: type: string last_name: type: string email: type: string format: email role: type: string enum: - owner - admin - standard Error: type: object properties: detail: type: string responses: NotFound: description: The requested resource does not exist. content: application/json: schema: $ref: '#/components/schemas/Error' Unauthorized: description: No valid API key was provided. content: application/json: schema: $ref: '#/components/schemas/Error' BadRequest: description: The request was unacceptable, often due to a missing required parameter. content: application/json: schema: $ref: '#/components/schemas/Error' parameters: Key: name: key in: path required: true description: The unique key of the resource. schema: type: string securitySchemes: apiKeyAuth: type: apiKey in: header name: Authorization description: The integration key ("API key") available on the Willo Integrations page at https://app.willotalent.com/integrations, sent in the Authorization header. Each user has their own key carrying that user's permissions.