openapi: 3.0.0 info: contact: email: contact@yousign.com name: Support url: https://yousign.com/contact description: Build the best experience of digital signature through your own platform. Increase your conversion rates, leverage your data and reduce your costs with Yousign API. license: name: proprietary url: https://yousign.com/terms title: Public Api v3 Applicant API version: '3.0' servers: - description: Sandbox URL url: https://api-sandbox.yousign.app/v3 - description: Production URL url: https://api.yousign.app/v3 security: - bearerAuth: [] tags: - description: An applicant associated with a Workflow Session. name: Applicant paths: /workflow_sessions/{workflowSessionId}/applicants: get: description: 'Returns the list of all Applicants for a given Workflow Session. ' operationId: get-workflow_sessions-id-applicants parameters: - description: Workflow Session Id in: path name: workflowSessionId required: true schema: $ref: '#/components/schemas/UUID' - description: After cursor (pagination) in: query name: after required: false schema: minLength: 1 type: string - description: The limit of items count to retrieve. in: query name: limit required: false schema: default: 100 maximum: 100 minimum: 1 type: integer - description: Filter Applicants by status. in: query name: status required: false schema: enum: - initiated - notified - processed type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/get_workflow_sessions_id_applicants_200_response' description: OK headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' description: Bad request headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResponse' description: Access unauthorized headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenResponse' description: Access forbidden headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '405': content: application/json: schema: $ref: '#/components/schemas/MethodNotAllowed' description: This method is not allowed headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '429': content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsResponse' description: Too Many Requests, please try again later. headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '500': content: application/json: schema: $ref: '#/components/schemas/InternalServerError' description: Internal Server Error headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' summary: List Applicants tags: - Applicant post: description: 'Creates a new Applicant for a given Workflow Session. ' operationId: post-workflow_sessions-id-applicants parameters: - description: Workflow Session Id in: path name: workflowSessionId required: true schema: $ref: '#/components/schemas/UUID' requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateWorkflowSessionApplicant' responses: '201': content: application/json: schema: $ref: '#/components/schemas/WorkflowSessionApplicant' description: Created headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' description: Bad request headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResponse' description: Access unauthorized headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenResponse' description: Access forbidden headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundResponse' description: Resource not found headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '405': content: application/json: schema: $ref: '#/components/schemas/MethodNotAllowed' description: This method is not allowed headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '429': content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsResponse' description: Too Many Requests, please try again later. headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '500': content: application/json: schema: $ref: '#/components/schemas/InternalServerError' description: Internal Server Error headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' summary: Create a new Applicant tags: - Applicant /workflow_sessions/{workflowSessionId}/applicants/{applicantId}: get: description: 'Retrieves a given Applicant for a Workflow Session. ' operationId: get-workflow_sessions-id-applicants-id parameters: - description: Workflow Session Id in: path name: workflowSessionId required: true schema: $ref: '#/components/schemas/UUID' - description: Applicant Id in: path name: applicantId required: true schema: $ref: '#/components/schemas/UUID' responses: '200': content: application/json: schema: $ref: '#/components/schemas/WorkflowSessionApplicant' description: OK headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' description: Bad request headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResponse' description: Access unauthorized headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenResponse' description: Access forbidden headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundResponse' description: Resource not found headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '405': content: application/json: schema: $ref: '#/components/schemas/MethodNotAllowed' description: This method is not allowed headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '429': content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsResponse' description: Too Many Requests, please try again later. headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '500': content: application/json: schema: $ref: '#/components/schemas/InternalServerError' description: Internal Server Error headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' summary: Get an Applicant tags: - Applicant patch: description: 'Updates a given Applicant for a Workflow Session. ' operationId: patch-workflow_sessions-id-applicants-id parameters: - description: Workflow Session Id in: path name: workflowSessionId required: true schema: $ref: '#/components/schemas/UUID' - description: Applicant Id in: path name: applicantId required: true schema: $ref: '#/components/schemas/UUID' requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateWorkflowSessionApplicant' responses: '200': content: application/json: schema: $ref: '#/components/schemas/WorkflowSessionApplicant' description: OK headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' description: Bad request headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthorizedResponse' description: Access unauthorized headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenResponse' description: Access forbidden headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundResponse' description: Resource not found headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' '405': content: application/json: schema: $ref: '#/components/schemas/MethodNotAllowed' description: This method is not allowed headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '429': content: application/json: schema: $ref: '#/components/schemas/TooManyRequestsResponse' description: Too Many Requests, please try again later. headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' Retry-After: $ref: '#/components/headers/retry-after' '500': content: application/json: schema: $ref: '#/components/schemas/InternalServerError' description: Internal Server Error headers: RateLimit-Limit: $ref: '#/components/headers/rateLimit-limit' X-RateLimit-Limit-Hour: $ref: '#/components/headers/rateLimit-limit-hour' X-RateLimit-Limit-Minute: $ref: '#/components/headers/rateLimit-limit-minute' RateLimit-Remaining: $ref: '#/components/headers/rateLimit-remaining' X-RateLimit-Remaining-Hour: $ref: '#/components/headers/rateLimit-remaining-hour' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/rateLimit-remaining-minute' RateLimit-Reset: $ref: '#/components/headers/rateLimit-reset' summary: Update an Applicant tags: - Applicant components: headers: rateLimit-remaining: description: The number of requests remaining in the current rate limit window schema: type: integer rateLimit-reset: description: The remaining time until the rate limit resets in seconds schema: type: integer rateLimit-remaining-hour: description: The number of requests remaining in the current hour rate limit window schema: type: integer rateLimit-limit: description: The maximum number of requests that the consumer is permitted to make in a given period schema: type: integer retry-after: description: Retry the request after X seconds schema: type: integer rateLimit-remaining-minute: description: The number of requests remaining in the current minute rate limit window schema: type: integer rateLimit-limit-minute: description: The maximum number of requests that the consumer is permitted to make in an minute window schema: type: integer rateLimit-limit-hour: description: The maximum number of requests that the consumer is permitted to make in an hour window schema: type: integer schemas: InternalServerError: properties: type: example: about:blank type: string detail: example: Something wrong occurred. type: string required: - detail - type title: InternalServerError type: object LegalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: company_name: description: Name of the company. example: Acme nullable: true type: string country_code: description: Country code of the company (ISO 3166-1 alpha-2). example: FR nullable: true type: string bank_account: allOf: - $ref: '#/components/schemas/BankAccount' description: Bank account of the legal person. nullable: true type: object legal_representatives: description: Legal representatives of the company. items: $ref: '#/components/schemas/Identity' type: array required: - bank_account - company_name - country_code - legal_representatives type: object UpdateWorkflowSessionApplicant: additionalProperties: false description: Update an Applicant associated with a Workflow Session (PATCH). properties: label: description: Label of the Applicant. example: John Doe maxLength: 255 minLength: 1 type: string reference_id: description: Unique applicant identifier as registered on your side. example: REF-12345 maxLength: 255 minLength: 1 nullable: true type: string natural_person: $ref: '#/components/schemas/UpdateNaturalPerson' legal_person: $ref: '#/components/schemas/UpdateLegalPerson' title: Update Applicant type: object Legal_Person_Applicant: additionalProperties: false description: A legal person Applicant. properties: id: description: Unique identifier of the Applicant. example: 9a93d3b5-fb3b-4abf-9e70-26315b33506c format: uuid type: string workflow_session_id: description: Unique identifier of the Workflow Session. example: 0ef334d2-7f36-4643-8a2a-4283b4a3e4a4 format: uuid type: string status: description: Status of the Applicant. enum: - initiated - notified - processed example: initiated type: string label: description: Label of the Applicant. example: Acme Corp type: string reference_id: description: Unique applicant identifier as registered on your side. example: REF-12345 nullable: true type: string created_at: description: Creation date of the Applicant. example: '2024-01-18T22:59:00Z' format: date-time type: string updated_at: description: Last update date of the Applicant. example: '2024-01-18T22:59:00Z' format: date-time type: string type: description: Type of the Applicant. enum: - legal_person type: string legal_person: $ref: '#/components/schemas/LegalPerson' required: - created_at - id - label - legal_person - reference_id - status - type - updated_at - workflow_session_id title: Legal Person Applicant type: object TooManyRequestsResponse: properties: message: type: string required: - message title: TooManyRequestsResponse type: object WorkflowSessionApplicant: description: An Applicant associated with a Workflow Session (full view). discriminator: propertyName: type oneOf: - $ref: '#/components/schemas/Natural_Person_Applicant' - $ref: '#/components/schemas/Legal_Person_Applicant' title: Applicant CreateLegalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: company_name: description: Name of the company. example: Acme maxLength: 255 minLength: 1 nullable: true type: string country_code: description: Country code of the company (ISO 3166-1 alpha-2). enum: - FR example: FR nullable: true type: string bank_account: $ref: '#/components/schemas/BankAccount' legal_representatives: description: Legal representatives of the company. items: $ref: '#/components/schemas/Identity' type: array title: Legal Person type: object WorkflowSessionApplicantListItem: additionalProperties: false description: An Applicant associated with a Workflow Session (list view). properties: id: description: Unique identifier of the Applicant. example: 9a93d3b5-fb3b-4abf-9e70-26315b33506c format: uuid type: string workflow_session_id: description: Unique identifier of the Workflow Session. example: 0ef334d2-7f36-4643-8a2a-4283b4a3e4a4 format: uuid type: string status: description: Status of the Applicant. enum: - initiated - notified - processed example: initiated type: string label: description: Label of the Applicant. example: John Doe type: string reference_id: description: Unique applicant identifier as registered on your side. example: REF-12345 nullable: true type: string created_at: description: Creation date of the Applicant. example: '2024-01-18T22:59:00Z' format: date-time type: string updated_at: description: Last update date of the Applicant. example: '2024-01-18T22:59:00Z' format: date-time type: string type: description: Type of the Applicant. enum: - natural_person - legal_person example: natural_person type: string required: - created_at - id - label - reference_id - status - type - updated_at - workflow_session_id title: Applicant List Item type: object CreateWorkflowSessionApplicant: description: Request body to create a new Applicant for a Workflow Session. discriminator: propertyName: type oneOf: - $ref: '#/components/schemas/CreateWorkflowSessionApplicantNaturalPerson' - $ref: '#/components/schemas/CreateWorkflowSessionApplicantLegalPerson' title: Create Applicant UpdateNaturalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: identity: $ref: '#/components/schemas/Identity' address: $ref: '#/components/schemas/Address' bank_account: $ref: '#/components/schemas/BankAccount' title: Natural Person type: object MethodNotAllowed: properties: message: type: string required: - message title: MethodNotAllowed type: object NotFoundResponse: properties: type: type: string detail: type: string required: - detail - type title: NotFoundResponse type: object Natural_Person_Applicant: additionalProperties: false description: A natural person Applicant. properties: id: description: Unique identifier of the Applicant. example: 9a93d3b5-fb3b-4abf-9e70-26315b33506c format: uuid type: string workflow_session_id: description: Unique identifier of the Workflow Session. example: 0ef334d2-7f36-4643-8a2a-4283b4a3e4a4 format: uuid type: string status: description: Status of the Applicant. enum: - initiated - notified - processed example: initiated type: string label: description: Label of the Applicant. example: John Doe type: string reference_id: description: Unique applicant identifier as registered on your side. example: REF-12345 nullable: true type: string created_at: description: Creation date of the Applicant. example: '2024-01-18T22:59:00Z' format: date-time type: string updated_at: description: Last update date of the Applicant. example: '2024-01-18T22:59:00Z' format: date-time type: string type: description: Type of the Applicant. enum: - natural_person type: string natural_person: $ref: '#/components/schemas/NaturalPerson' required: - created_at - id - label - natural_person - reference_id - status - type - updated_at - workflow_session_id title: Natural Person Applicant type: object NaturalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: identity: allOf: - $ref: '#/components/schemas/Identity' description: Identity of the natural person. nullable: true type: object address: allOf: - $ref: '#/components/schemas/Address' description: Postal address of the natural person. nullable: true type: object bank_account: allOf: - $ref: '#/components/schemas/BankAccount' description: Bank account of the natural person. nullable: true type: object required: - address - bank_account - identity type: object UpdateLegalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: company_name: description: Name of the company. example: Acme maxLength: 255 minLength: 1 nullable: true type: string country_code: description: Country code of the company (ISO 3166-1 alpha-2). enum: - FR - null example: FR nullable: true type: string bank_account: $ref: '#/components/schemas/BankAccount' legal_representatives: description: Legal representatives of the company. items: $ref: '#/components/schemas/Identity' type: array title: Legal Person type: object BadRequestResponse: properties: type: type: string detail: type: string required: - detail - type title: BadRequestResponse type: object Address: additionalProperties: false description: Provide the Applicants full address. properties: line1: description: The first line of the address, typically the street name and number. example: 1 rue de la Paix maxLength: 500 minLength: 1 type: string line2: description: If needed, the second line of the address, typically an apartment or suite number. maxLength: 500 minLength: 1 nullable: true type: string example: null postal_code: description: The postal code of the address. example: '75002' maxLength: 10 minLength: 1 type: string city: description: The city of the address. example: Paris maxLength: 200 minLength: 1 type: string required: - city - line1 - postal_code title: Address type: object ForbiddenResponse: properties: type: type: string detail: type: string required: - detail - type title: ForbiddenResponse type: object UnauthorizedResponse: properties: type: type: string detail: type: string required: - detail - type title: UnauthorizedResponse type: object CreateWorkflowSessionApplicantLegalPerson: additionalProperties: false description: Create a legal person Applicant. properties: label: description: Label of the Applicant. example: Acme Corp maxLength: 255 minLength: 1 type: string reference_id: description: Unique applicant identifier as registered on your side. example: REF-12345 maxLength: 255 minLength: 1 nullable: true type: string type: description: Type of the Applicant. enum: - legal_person type: string legal_person: $ref: '#/components/schemas/CreateLegalPerson' required: - label - type title: Create Legal Person Applicant type: object UUID: description: The unique identifier for a resource. example: 9a93d3b5-fb3b-4abf-9e70-26315b33506c format: uuid type: string CreateNaturalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: identity: $ref: '#/components/schemas/Identity' address: $ref: '#/components/schemas/Address' bank_account: $ref: '#/components/schemas/BankAccount' title: Natural Person type: object BankAccount: additionalProperties: false description: Bank account details. properties: iban: description: International Bank Account Number. example: FR7630001007941234567890185 minLength: 1 type: string bic: description: Business Identifier Code. example: BDFEFR2L nullable: true type: string required: - iban title: Bank Account type: object Pagination: description: Metadata about the response. properties: next_cursor: description: 'Token to get the next page of results. If `null`, there are no more pages. ' minLength: 1 nullable: true type: string required: - next_cursor type: object get_workflow_sessions_id_applicants_200_response: properties: meta: $ref: '#/components/schemas/Pagination' data: items: $ref: '#/components/schemas/WorkflowSessionApplicantListItem' type: array type: object Identity: additionalProperties: false description: Describes the Applicant. properties: first_name: description: First name of the person. example: John maxLength: 255 minLength: 1 type: string last_name: description: Last name of the person. example: Doe maxLength: 255 minLength: 1 type: string required: - first_name - last_name title: Identity type: object CreateWorkflowSessionApplicantNaturalPerson: additionalProperties: false description: Contains information that describe the applicant. This data is used for cross-validation with the data Yousign extracts from the applicant documents and verifications. properties: label: description: Label of the Applicant. example: John Doe maxLength: 255 minLength: 1 type: string reference_id: description: Unique applicant identifier as registered on your side. example: REF-12345 maxLength: 255 minLength: 1 nullable: true type: string type: description: Type of the Applicant. enum: - natural_person type: string natural_person: $ref: '#/components/schemas/CreateNaturalPerson' required: - label - type title: Create Natural Person Applicant type: object securitySchemes: bearerAuth: scheme: bearer type: http