{"openapi":"3.0.0","paths":{"/v1/ping":{"get":{"operationId":"ping-ping","summary":"Ping the API","description":"This endpoint allows you to test your API key.\n\n---\n\n#### See also  \nLearn more about [Authentication](./authentication)  \n","parameters":[],"responses":{"200":{"description":"Ping successful\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ping"}}}}},"tags":["Ping"]}},"/v1/cases":{"get":{"operationId":"case-get-many","summary":"List all cases","description":"Returns a list of all cases created in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"external_id","required":false,"in":"query","description":"Filter items by the `external_id.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"assignee_id","required":false,"in":"query","description":"Filter items by the `assignee_id.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter items by the `name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"tags","required":false,"in":"query","description":"Filter items by the `tags.{operator}` field.  \nYou can use the `array_contains`, `array_not_contains` and `array_overlap` operators, the `array_contains` operator being the default.  \nComma separated for multiple values (`array_contains`, `array_not_contains` and `array_overlap`).","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter items by the `status.{operator}` field.  \nYou can use the `eq`, `not_eq`, `in` and `not_in` operators, the `eq` operator being the default.  \nComma separated for multiple values (`in` and `not_in`).","schema":{"type":"string","enum":["draft","open","approved","rejected","closed"]}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"last_activity_at","required":false,"in":"query","description":"Filter items by the `last_activity_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at`, `last_activity_at` and `name`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"last_activity_at":{"summary":"Sort by values of the \"last_activity_at\" field in descending order","value":"last_activity_at.desc"},"name":{"summary":"Sort by values of the \"name\" field in ascending order","value":"name"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,last_activity_at.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of cases created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCaseList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Cases"]},"post":{"operationId":"case-create-one","summary":"Create a case","description":"Create a case in your workspace.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \nLearn more about [Templates](./templates-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseCreate"}}}},"responses":{"201":{"description":"Case has been created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseCreateResponse"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "}},"tags":["Cases"]}},"/v1/cases/{id}":{"get":{"operationId":"case-get-one","summary":"Retrieve a case","description":"Returns detailed information about the specified case.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Retrieve a case by its Dotfile internal `id` first and if not found, by its `external_id`.","examples":{"id":{"summary":"by id","value":"bf05e8f6-f909-487b-bb49-d58354c2c45c"},"external_id":{"summary":"by external_id","value":"my-external-id"}},"schema":{"type":"string"}},{"name":"include_not_relevant","required":false,"in":"query","description":"Include companies and individuals marked as not relevant, default `false`","schema":{"default":false,"type":"boolean"}},{"name":"exclude_internal_checks","required":false,"in":"query","description":"Exclude companies and individuals checks that are marked as internal","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseDetailed"}}}},"404":{"description":"No case can be found."}},"tags":["Cases"]},"patch":{"operationId":"case-update-one","summary":"Update a case","description":"Update case properties.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \nLearn more about [Templates](./templates-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseUpdate"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Case"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No case can be found."}},"tags":["Cases"]},"delete":{"operationId":"case-delete-one","summary":"Delete a case","description":"Delete the specified case.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}},{"name":"permanent","required":false,"in":"query","description":"Optional query parameter to permanently delete a case","schema":{"type":"boolean"}}],"responses":{"204":{"description":""},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No case can be found."}},"tags":["Cases"]}},"/v1/cases/{id}/notes":{"get":{"operationId":"case-get-many-notes","summary":"Retrieve case's notes","description":"Returns case's notes with comments\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \nLearn more about [Create a note](./note-create-one-note)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at` and `updated_at`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"updated_at":{"summary":"Sort by values of the \"updated_at\" field in descending order","value":"updated_at.desc"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,updated_at.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of notes on the case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseNotePaginateList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Cases"]}},"/v1/cases/{id}/documents":{"get":{"operationId":"case-get-document","summary":"Retrieve case's documents","description":"Retrieve all documents related to a case by its Dotfile internal `id`.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}},{"name":"company_id","required":false,"in":"query","description":"Only include documents of this specific company (when omitted, by default all companies and individuals of the case are includes)","schema":{"type":"string"}},{"name":"individual_id","required":false,"in":"query","description":"Only include documents of this specific individual (when omitted, by default all companies and individuals of the case are includes)","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"Only include some specific document types (when omitted, by default all document types are included)  \n\nComma separated for multiple values","schema":{"enum":["case_report","document_order","check__document","check__id_document","check__id_verification","check__electronic_signature"],"type":"string"}},{"name":"include_check_history","required":false,"in":"query","description":"Historical documents will also be include (when omitted, by default only latest document types are included)","schema":{"type":"boolean"}},{"name":"include_not_relevant","required":false,"in":"query","description":"Documents from companies or individuals marked as not relevant will also be include (when omitted, by default only relevant companies or individuals documents are included)","schema":{"type":"boolean"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseDocumentList"}}}},"404":{"description":"No case can be found."}},"tags":["Cases"]}},"/v1/cases/{id}/generate-report":{"post":{"operationId":"case-generate-report","summary":"Generate case report","description":"Request the generation of a case report by its Dotfile internal `id`. Retrieve the report by subscribing to `CaseReport.Generated` webhook event.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \nLearn more about [Webhooks](./webhooks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseReportParams"}}}},"responses":{"204":{"description":""},"404":{"description":"No case can be found."}},"tags":["Cases"]}},"/v1/cases/{id}/reviews":{"post":{"operationId":"case-review-create-one","summary":"Create a case review","description":"Create a case review which will update the case status according to the review status.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CaseReviewApprovedCreate","title":"Create an approved review"},{"$ref":"#/components/schemas/CaseReviewRejectedCreate","title":"Create a rejected review"},{"$ref":"#/components/schemas/CaseReviewClosedCreate","title":"Create a closed review"}]}}}},"responses":{"201":{"description":"Case review has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseReview"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No case can be found."}},"tags":["Cases"]}},"/v1/cases/{id}/risks":{"post":{"operationId":"risk-create-one","summary":"Create an automatic risk","description":"Create an automatic risk on a Case.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskCreate"}}}},"responses":{"201":{"description":"Risk has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Risk"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Automatic risk cannot be created when workspace has online risk engines.\n  "},"404":{"description":"No case can be found."}},"tags":["Cases"]}},"/v1/cases/{caseId}/relations":{"post":{"operationId":"case-relation-create-one","summary":"Create a relation","description":"Create a relation from an individual or a company to a company.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"caseId","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CaseRelationCreateCompanyTarget","title":"Relation from a company to a company"},{"$ref":"#/components/schemas/CaseRelationCreateIndividualTarget","title":"Relation from an individual to another company"}]},"examples":{"fromCompanyompany":{"summary":"Create a relation from a company to the `main` company of the case","value":{"from_company_id":"de0d49bd-ea3d-4943-8bf6-dc0034aa6ec4"}},"fromIndividual":{"summary":"Create a relation from an individual to a company with all properties","value":{"from_individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","to_company_id":"de0d49bd-ea3d-4943-8bf6-dc0034aa6ec4","voting_rights_percentage":51,"ownership_percentage":51,"position":"Board member","roles":["shareholder","legal_representative"]}}}}}},"responses":{"201":{"description":"Relation has been created in the case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseRelation"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - A case must have a `main` company to create relation in it.\n  - Relation from a given individual or company to another company must be unique.\n  "},"404":{"description":"No case, company or individual can be found."}},"tags":["Cases"]}},"/v1/cases/{caseId}/relations/{caseRelationId}":{"patch":{"operationId":"case-relation-update-one","summary":"Update a relation","description":"Update a relation properties.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"caseId","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}},{"name":"caseRelationId","required":true,"in":"path","description":"Id of the relation","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseRelationUpdate"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseRelation"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifiers specified in the URL are valid UUIDs\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No case or relation can be found."}},"tags":["Cases"]},"delete":{"operationId":"case-relation-delete-one","summary":"Delete a relation","description":"Delete the specified relation.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"caseId","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}},{"name":"caseRelationId","required":true,"in":"path","description":"Id of the relation","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifiers specified in the URL are valid UUIDs\n  - Make sure that when there are individual or company relations in a case, each individual or company has at least one relation (no orphan)\n  "},"404":{"description":"No case or relation can be found."}},"tags":["Cases"]}},"/v1/company-data/countries":{"get":{"operationId":"company-data-countries","summary":"List countries","description":"List all available countries we support with vendor configured in your workspace settings\n\n---\n\n#### See also  \nLearn more about [Company data](./company-data-guide)  \n","parameters":[{"name":"code","required":false,"in":"query","description":"Search country by `code`  \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","schema":{"minLength":2,"maxLength":2,"format":"alpha-2","type":"string"}},{"name":"vendor","required":false,"in":"query","description":"Search country by `vendor`.  \nCould be `pappers`,`kompany`,`creditsafe`,`kyckr`,`companies_house`,`inpi`,`info_camere`,`transparenzregister`,`topograph`,`charity_commission` or `none`.","schema":{"enum":["pappers","kompany","creditsafe","kyckr","companies_house","inpi","info_camere","transparenzregister","topograph","charity_commission","none"],"type":"string"}},{"name":"include_none","required":false,"in":"query","description":"Include country with `vendor=none` in result.","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Returns list of countries\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n\n  "}},"tags":["Company data"]}},"/v1/company-data/entity-legal-forms":{"get":{"operationId":"company-data-entity-legal-forms","summary":"List entity legal forms","description":"List all available entity legal forms ([ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list)) we support\n\n---\n\n#### See also  \nLearn more about [Company data](./company-data-guide)  \n","parameters":[{"name":"country","required":false,"in":"query","description":"Search entity legal forms by country  \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","schema":{"minLength":2,"maxLength":2,"format":"alpha-2","type":"string"}},{"name":"subdivision","required":false,"in":"query","description":"Search by subdivision","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns list of entity legal forms\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityLegalFormList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n\n  "}},"tags":["Company data"]}},"/v1/company-data/search":{"get":{"operationId":"company-data-search","summary":"Search companies","description":"Search companies by name or registration number.\n\n---\n\n#### See also  \nLearn more about [Company data](./company-data-guide)  \n","parameters":[{"name":"country","required":true,"in":"query","description":"Search companies in a `country`, always required  \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","schema":{"minLength":2,"maxLength":2,"format":"alpha-2","type":"string"}},{"name":"name","required":false,"in":"query","description":"Search companies by `name`.  \nIn addition to `country`, either `name` or `registration_number` is required.","schema":{"type":"string"}},{"name":"registration_number","required":false,"in":"query","description":"Search companies by `registration_number`.  \nIn addition to `country`, either `name` or `registration_number` is required.","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns list of companies which matching\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySearchList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n\n  "}},"tags":["Company data"]}},"/v1/company-data/fetch/{search_ref}":{"get":{"operationId":"company-data-fetch","summary":"Fetch company data","description":"Use a `search_ref` from [Search companies](./company-data-search) result to fetch company data.\n\n---\n\n#### See also  \nLearn more about [Company data](./company-data-guide)  \n","parameters":[{"name":"search_ref","required":true,"in":"path","description":"From a result of [Search companies](./company-data-search)","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns Company data\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyData"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  "}},"tags":["Company data"]}},"/v1/company-data/available-documents":{"get":{"operationId":"company-data-get-available-documents","summary":"List available documents for a given company","description":"Require either `company_id` OR `country` & `registration_number`\n\n---\n\n#### See also  \nLearn more about [Company data](./company-data-guide)  \n","parameters":[{"name":"country","required":false,"in":"query","description":"Company country  \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","schema":{"minLength":2,"maxLength":2,"format":"alpha-2","example":"FR","type":"string"}},{"name":"registration_number","required":false,"in":"query","description":"Company registration number","schema":{"type":"string"}},{"name":"company_id","required":false,"in":"query","description":"Company id","schema":{"type":"string"}}],"responses":{"200":{"description":"Return list of available documents to order for a company\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailableDocumentList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n\n  "}},"tags":["Company data"]}},"/v1/company-data/document-orders":{"post":{"operationId":"company-data-document-order-create-one","summary":"Create a document order","description":"Create a document order for a company\n\n---\n\n#### See also  \nLearn more about [Company data](./company-data-guide)  \nLearn more about [Companies](./company-get-one)  \nLearn more about [Files](./files-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentOrderCreate"}}}},"responses":{"201":{"description":"Document order has been created on the company\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentOrder"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "}},"tags":["Company data"]}},"/v1/companies":{"get":{"operationId":"company-get-many","summary":"List all companies","description":"Returns a list of all companies created in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"name","required":false,"in":"query","description":"Filter items by the `name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"registration_number","required":false,"in":"query","description":"Filter items by the `registration_number.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"country","required":false,"in":"query","description":"Filter items by the `country.{operator}` field.  \nYou can use the `eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"last_activity_at","required":false,"in":"query","description":"Filter items by the `last_activity_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at`, `last_activity_at` and `name`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"last_activity_at":{"summary":"Sort by values of the \"last_activity_at\" field in descending order","value":"last_activity_at.desc"},"name":{"summary":"Sort by values of the \"name\" field in ascending order","value":"name"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,last_activity_at.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of companies created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCompanyList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Companies"]},"post":{"operationId":"company-create-one","summary":"Create a company","description":"Create a company in a case.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreate"}}}},"responses":{"201":{"description":"Company has been created in the case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - A case can have only one `main` company\n  - A case must have a `main` company before creating an `affiliated` company\n  "},"404":{"description":"No case can be found."}},"tags":["Companies"]}},"/v1/companies/{id}":{"get":{"operationId":"company-get-one","summary":"Retrieve a company","description":"Retrieves the company with the given ID.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the company","schema":{"format":"uuid","type":"string"}},{"name":"exclude_internal_checks","required":false,"in":"query","description":"Exclude checks that are marked as internal","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Returns information of a company\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No company can be found."}},"tags":["Companies"]},"patch":{"operationId":"company-update-one","summary":"Update a company","description":"Updates the company with the given ID.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the company","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdate"}}}},"responses":{"200":{"description":"Returns information of the updated company\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No company can be found."}},"tags":["Companies"]},"delete":{"operationId":"company-delete-one","summary":"Delete a company","description":"Delete the specified company.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the company","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No company can be found."}},"tags":["Companies"]}},"/v1/companies/{id}/vendor-data":{"get":{"operationId":"company-get-one-vendor-data","summary":"Retrieve a company vendor data","description":"Retrieves a company vendor data with the given the company ID.\n\n---\n\n#### See also  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the company","schema":{"format":"uuid","type":"string"}},{"name":"name","required":false,"in":"query","description":"Filter items by the `name.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string","enum":["pappers","kompany","creditsafe","kyckr","companies_house","inpi","info_camere","transparenzregister","topograph","charity_commission"]}},{"name":"fetched_at","required":false,"in":"query","description":"Filter items by the `fetched_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `fetched_at`.  \nAvailable fields are `fetched_at` and `name`.","schema":{"default":"fetched_at","type":"string"},"examples":{"fetched_at":{"summary":"Sort by values of the \"fetched_at\" field in ascending order","value":"fetched_at"},"name":{"summary":"Sort by values of the \"name\" field in descending order","value":"name.desc"},"multiple":{"summary":"Sort by values of multiple fields","value":"fetched_at,name.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of vendor data of the company\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyVendorDataList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No company can be found."}},"tags":["Companies"]}},"/v1/companies/{id}/set-relevant":{"post":{"operationId":"company-set-relevant","summary":"Set company relevance","description":"Change the relevance of the specified company\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the company","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySetRelevant"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the company is an affiliated company\n  "},"404":{"description":"No company can be found."}},"tags":["Companies"]}},"/v1/individuals":{"get":{"operationId":"individual-get-many","summary":"List all individuals","description":"Returns a list of all individuals created in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"first_name","required":false,"in":"query","description":"Filter items by the `first_name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"last_name","required":false,"in":"query","description":"Filter items by the `last_name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"birth_date","required":false,"in":"query","description":"Filter items by the `birth_date.{operator}` field.  \nYou can use the `eq` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"email","required":false,"in":"query","description":"Filter items by the `email.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"last_activity_at","required":false,"in":"query","description":"Filter items by the `last_activity_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at`, `first_name`, `last_activity_at` and `last_name`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"first_name":{"summary":"Sort by values of the \"first_name\" field in descending order","value":"first_name.desc"},"last_activity_at":{"summary":"Sort by values of the \"last_activity_at\" field in ascending order","value":"last_activity_at"},"last_name":{"summary":"Sort by values of the \"last_name\" field in descending order","value":"last_name.desc"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,first_name.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of individuals created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedIndividualList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Individuals"]},"post":{"operationId":"individual-create-one","summary":"Create an individual","description":"Create an individual in a case.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualCreate"}}}},"responses":{"201":{"description":"Individual has been created in the case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Individual"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No case can be found."}},"tags":["Individuals"]}},"/v1/individuals/{id}":{"get":{"operationId":"individual-get-one","summary":"Retrieve an individual","description":"Retrieves the individual with the given ID.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the individual","schema":{"format":"uuid","type":"string"}},{"name":"exclude_internal_checks","required":false,"in":"query","description":"Exclude checks that are marked as internal","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Returns information of an individual\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Individual"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No individual can be found."}},"tags":["Individuals"]},"patch":{"operationId":"individual-update-one","summary":"Update an individual","description":"Updates the individual with the given ID.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the individual","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualUpdate"}}}},"responses":{"200":{"description":"Returns information of the updated individual\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Individual"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No individual can be found."}},"tags":["Individuals"]},"delete":{"operationId":"individual-delete-one","summary":"Delete an individual","description":"Delete the specified individual.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the individual","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No individual can be found."}},"tags":["Individuals"]}},"/v1/individuals/{id}/set-relevant":{"post":{"operationId":"individual-set-relevant","summary":"Set individual relevance","description":"Change the relevance of the specified individual\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the individual","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualSetRelevant"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Individual"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No individual can be found."}},"tags":["Individuals"]}},"/v1/checks":{"get":{"operationId":"check-get-many","summary":"List all checks","description":"Returns a list of all checks created in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Checks](./checks-guide)  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"individual_id","required":false,"in":"query","description":"Filter items by the `individual_id.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"company_id","required":false,"in":"query","description":"Filter items by the `company_id.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter items by the `status.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"]}},{"name":"type","required":false,"in":"query","description":"Filter items by the `type.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string","enum":["id_verification","id_document","aml","company_monitoring","document","ekyc","electronic_signature","fraud_database","online_reputation"]}},{"name":"exclude_internal","required":false,"in":"query","description":"Exclude checks that are marked as internal.  \nDefault is false","schema":{"type":"boolean"}},{"name":"include_not_relevant","required":false,"in":"query","description":"Include checks from individuals marked as not relevant.  \nDefault is false","schema":{"type":"boolean"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"last_activity_at","required":false,"in":"query","description":"Filter items by the `last_activity_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `updated_at`.  \nAvailable fields are `created_at`, `last_activity_at` and `updated_at`.","schema":{"default":"updated_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"last_activity_at":{"summary":"Sort by values of the \"last_activity_at\" field in descending order","value":"last_activity_at.desc"},"updated_at":{"summary":"Sort by values of the \"updated_at\" field in ascending order","value":"updated_at"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,last_activity_at.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of checks created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Checks"]}},"/v1/checks/{id}":{"delete":{"operationId":"check-delete-one","summary":"Delete a check","description":"Delete the specified check.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the check","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No check can be found."}},"tags":["Checks"]}},"/v1/checks/company-monitoring/{id}":{"get":{"operationId":"company-monitoring-get-one","summary":"Retrieve a Company Monitoring check","description":"Returns detailed information about the specified Company Monitoring check.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Company Monitoring check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyMonitoringCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No Company Monitoring check can be found."}},"tags":["Company Monitoring check"]}},"/v1/checks/ekyc":{"post":{"operationId":"ekyc-create-one","summary":"Create an eKYC check","description":"Create an eKYC check. The check will verify the identity of the individual using electronic Know Your Customer (eKYC) data sources.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EkycCheckCreate"},"examples":{"withoutSettings":{"summary":"Create an eKYC check","description":"Using the body parameter `EkycCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef"}},"withSettings":{"summary":"Create an eKYC check with settings","description":"Using the body parameter `EkycCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"vendor":"gbg","automatic_approval":true,"automatic_rejection":true}}}}}}},"responses":{"201":{"description":"eKYC check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EkycCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  "}},"tags":["eKYC check"]}},"/v1/checks/ekyc/{id}":{"get":{"operationId":"ekyc-get-one","summary":"Retrieve an eKYC check","description":"Returns detailed information about the specified eKYC check.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the eKYC check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EkycCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No eKYC check can be found."}},"tags":["eKYC check"]}},"/v1/checks/ekyc/{id}/review":{"patch":{"operationId":"ekyc-review","summary":"Review an eKYC check","description":"Approve or reject an eKYC check. The Reviewer type will be set to `api`.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the eKYC check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"eKYC check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EkycCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No eKYC check can be found."}},"tags":["eKYC check"]}},"/v1/checks/electronic_signature":{"post":{"operationId":"electronic-signature-create-one","summary":"Create an Electronic Signature check","description":"Create an Electronic Signature check. The check will be created with the specified document template.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicSignatureCheckCreate"},"examples":{"minimal":{"summary":"Minimal electronic signature check","description":"Create an electronic signature check with minimal required fields","value":{"individual_id":"01234567-89ab-cdef-0123-456789abcdef","settings":{"document_template_key":"with_version_and_draft"}}},"complete":{"summary":"Complete electronic signature check","description":"Create an electronic signature check with all optional fields","value":{"individual_id":"01234567-89ab-cdef-0123-456789abcdef","settings":{"document_template_key":"with_version_and_draft","automatic_approval":false}}}}}}},"responses":{"201":{"description":"Electronic Signature check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicSignatureCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  "}},"tags":["Electronic Signature check"]}},"/v1/checks/electronic_signature/{id}":{"get":{"operationId":"electronic-signature-get-one","summary":"Retrieve an Electronic Signature check","description":"Returns detailed information about the specified Electronic Signature check.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Electronic Signature check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicSignatureCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No Electronic Signature check can be found."}},"tags":["Electronic Signature check"]}},"/v1/checks/electronic_signature/{id}/review":{"patch":{"operationId":"electronic-signature-review","summary":"Review an Electronic Signature check","description":"Approve or reject an Electronic Signature check. The Reviewer type will be set to `api`.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Electronic Signature check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"Electronic Signature check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectronicSignatureCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No Electronic Signature check can be found."}},"tags":["Electronic Signature check"]}},"/v1/checks/fraud-database":{"post":{"operationId":"fraud-database-create-one","summary":"Create a Fraud database check","description":"Create a Fraud database check. The check will search for fraud records associated with the individual or company.  \nThis feature needs to be enabled on your workspace first. Contact your Customer Success Manager or support@dotfile.com for more information.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FraudDatabaseCheckCreate"},"examples":{"individualWithoutSettings":{"summary":"Create a fraud database check for an individual","description":"Using the body parameter `FraudDatabaseCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef"}},"individualWithSettings":{"summary":"Create a fraud database check for an individual with settings","description":"Using the body parameter `FraudDatabaseCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"vendor":"cifas","automatic_approval":true,"automatic_rejection":false}}},"company":{"summary":"Create a fraud database check for a company","description":"Using the body parameter `FraudDatabaseCheckCreate`","value":{"company_id":"5c47df41-4ea1-532b-9157-b159f6e5df00"}}}}}},"responses":{"201":{"description":"Fraud database check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FraudDatabaseCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  - When the feature is disabled for the workspace\n  "}},"tags":["Fraud database check"]}},"/v1/checks/fraud-database/{id}":{"get":{"operationId":"fraud-database-get-one","summary":"Retrieve a Fraud database check","description":"Returns detailed information about the specified fraud database check.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Fraud database check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FraudDatabaseCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No Fraud database check can be found."}},"tags":["Fraud database check"]}},"/v1/checks/fraud-database/{id}/review":{"patch":{"operationId":"fraud-database-review","summary":"Review a fraud database check","description":"Approve or reject a fraud database check. The Reviewer type will be set to `api`.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Fraud database check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"Fraud database check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FraudDatabaseCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No Fraud database check can be found."}},"tags":["Fraud database check"]}},"/v1/checks/id_document":{"post":{"operationId":"id-document-create-one","summary":"Create an ID Document check","description":"Create an ID Document check. Use [Upload a file](./file-upload-file) to get an `upload_ref`.\n\n---\n\n#### See also  \nLearn more about [Id document checks](./id-document-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdDocumentCheckCreate"},"examples":{"withoutFile":{"summary":"Create an ID Document check without file","description":"Using the body parameter `IdDocumentCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef"}},"withFile":{"summary":"Create an ID Document check with settings and file","description":"Using the body parameter `IdDocumentCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"automatic_approval":true,"automatic_rejection":true},"data":{"front_upload_ref":"af010c0c-b885-46b0-afc2-994120e27fb1","back_upload_ref":"cd79a704-ce8c-4b58-b4cc-569da2270575"}}}}}}},"responses":{"201":{"description":"ID Document check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdDocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  - When one of the `upload_ref` is expired or invalid\n  - When one of the files is too large:  \n    - **veriff**: size must be less than **17MB** and the longer side of the image (including images embedded in a PDF) must be less than 1920px  \n    - **idnow**: size must be less than **4MB**\n  "}},"tags":["ID Document check"]}},"/v1/checks/id_document/{id}":{"get":{"operationId":"id-document-get-one","summary":"Retrieve an ID Document check","description":"Returns detailed information about the specified ID Document check.\n\n---\n\n#### See also  \nLearn more about [Id document checks](./id-document-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the ID Document check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdDocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No ID Document check can be found."}},"tags":["ID Document check"]}},"/v1/checks/id_document/{id}/add_files":{"post":{"operationId":"id-document-add-file","summary":"Add files","description":"Add some files to an existing ID Document check. Use [Upload a file](./file-upload-file) to get an `upload_ref`.\n\n---\n\n#### See also  \nLearn more about [Id document checks](./id-document-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the ID Document check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdDocumentCheckDataFile"}}}},"responses":{"201":{"description":"File has been added to the ID Document check\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdDocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - When one of the `upload_ref` is expired or invalid\n  - When one of the files is too large:  \n    - **veriff**: size must be less than **17MB** and the longer side of the image (including images embedded in a PDF) must be less than 1920px  \n    - **idnow**: size must be less than **4MB**\n  "},"404":{"description":"No ID Document check can be found."}},"tags":["ID Document check"]}},"/v1/checks/id_document/{id}/review":{"patch":{"operationId":"id-document-review","summary":"Review an ID Document check","description":"Approve or reject an ID Document check. The Reviewer type will be set to `api`.\n\n---\n\n#### See also  \nLearn more about [Id document checks](./id-document-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the ID Document check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"ID Document check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdDocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No ID Document check can be found."}},"tags":["ID Document check"]}},"/v1/checks/id_verification":{"post":{"operationId":"id-verification-create-one","summary":"Create an ID Verification check","description":"Create an ID Verification check.\n\n---\n\n#### See also  \nLearn more about [Id verification checks](./id-verification-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdVerificationCheckCreate"},"examples":{"withoutSettings":{"summary":"Create an ID Verification check","description":"Using the body parameter `IdVerificationCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef"}},"withSettings":{"summary":"Create an ID Verification check with settings","description":"Using the body parameter `IdVerificationCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"automatic_approval":true,"automatic_rejection":true,"redirect_url":"https://your-custom-url.com"}}},"legacyUbbleVendor":{"summary":"Create an Ubble ID verification (⚠ Deprecated, legacy configuration only)","description":"Using the body parameter `IdVerificationCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"vendor":"ubble","mode":"liveness"}}},"checkoutPartialHumanReview":{"summary":"Create a Checkout ID verification (Partial human review)","description":"Using the body parameter `IdVerificationCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"vendor":"checkout","mode":"auto"}}},"checkoutSystematicHumanReview":{"summary":"Create a Checkout ID verification (Systematic human review)","description":"Using the body parameter `IdVerificationCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"vendor":"checkout","mode":"expert"}}},"checkoutPVIDReview":{"summary":"Create a Checkout ID verification (PVID certified)","description":"Using the body parameter `IdVerificationCheckCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"vendor":"checkout","mode":"certified"}}}}}}},"responses":{"201":{"description":"ID Verification check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdVerificationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  "}},"tags":["ID Verification check"]}},"/v1/checks/id_verification/{id}":{"get":{"operationId":"id-verification-get-one","summary":"Retrieve an ID Verification check","description":"Returns detailed information about the specified ID Verification check.\n\n---\n\n#### See also  \nLearn more about [Id verification checks](./id-verification-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the ID Verification check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdVerificationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No ID Verification check can be found."}},"tags":["ID Verification check"]}},"/v1/checks/id_verification/{id}/review":{"patch":{"operationId":"id-verification-review","summary":"Review an ID Verification check","description":"Approve or reject an ID Verification check. The Reviewer type will be set to `api`.\n\n---\n\n#### See also  \nLearn more about [Id verification checks](./id-verification-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the ID Verification check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"ID Verification check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdVerificationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No ID Verification check can be found."}},"tags":["ID Verification check"]}},"/v1/checks/id_verification/{id}/refresh_url":{"post":{"operationId":"id-verification-refresh-url","summary":"Refresh an ID Verification check url","description":"Refresh the `data.vendor.verificationUrl` with a new URL valid for 15 minutes.\n\n---\n\n#### See also  \nLearn more about [Id verification checks](./id-verification-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the ID Verification check","schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"description":"ID Verification check url has been updated\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdVerificationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No ID Verification check can be found."}},"tags":["ID Verification check"]}},"/v1/checks/aml":{"post":{"operationId":"aml-create-one","summary":"Create an AML check","description":"Create an AML check.\n\n---\n\n#### See also  \nLearn more about [Aml checks](./aml-checks-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckCompanyCreate","title":"Aml Check Company Create"},{"$ref":"#/components/schemas/AmlCheckIndividualCreate","title":"Aml Check Individual Create"}]},"examples":{"company":{"summary":"Create AML check on a company","description":"Using the body parameter `AmlCheckCompanyCreate`","value":{"company_id":"de0d49bd-ea3d-4943-8bf6-dc0034aa6ec4"}},"individual":{"summary":"Create AML check on an individual with settings","description":"Using the body parameter `AmlCheckIndividualCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"fuzziness":0.4,"list_types":["sanction","warning"],"enable_entity_filter":true}}}}}}},"responses":{"201":{"description":"AML check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  "}},"tags":["AML check"]}},"/v1/checks/aml/{id}":{"get":{"operationId":"aml-get-one","summary":"Retrieve an AML check","description":"Returns detailed information about the specified AML check.\n\n---\n\n#### See also  \nLearn more about [Aml checks](./aml-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the AML check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No AML check can be found."}},"tags":["AML check"]}},"/v1/checks/aml/{id}/hits/review":{"patch":{"operationId":"aml-review-hits","summary":"Review AML hits","description":"Confirm or ignore the AML hits of a check. The Reviewer type will be set to `api`.\n\n---\n\n#### See also  \nLearn more about [Aml checks](./aml-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the AML check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewAmlHitsInput"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No AML check can be found."}},"tags":["AML check"]}},"/v1/checks/aml/{id}/review":{"patch":{"operationId":"aml-review","summary":"Review an AML check","description":"Approve or reject an AML check. The Reviewer type will be set to `api`.\n\nℹ️ Note: You must review all AML hits before reviewing the AML check, see [Review AML hits](./aml-review-hits)\n\n---\n\n#### See also  \nLearn more about [Aml checks](./aml-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the AML check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"AML check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - Any hits are still in status `potential_match`\n  "},"404":{"description":"No AML check can be found."}},"tags":["AML check"]}},"/v1/checks/aml/{id}/monitoring":{"patch":{"operationId":"aml-update-monitoring","summary":"Update an AML check monitoring","description":"Enable or disable monitoring on an AML check.\n\n---\n\n#### See also  \nLearn more about [Aml checks](./aml-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the AML check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlCheckUpdateMonitoring"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No AML check can be found."}},"tags":["AML check"]}},"/v1/checks/document":{"post":{"operationId":"document-create-one","summary":"Create a Document check","description":"Create a Document check. Use [Upload a file](./file-upload-file) to get an `upload_ref`.\n\n---\n\n#### See also  \nLearn more about [Document checks](./document-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DocumentCheckCompanyCreate","title":"Document Check Company Create"},{"$ref":"#/components/schemas/DocumentCheckIndividualCreate","title":"Document Check Individual Create"}]},"examples":{"companyDocumentType":{"summary":"Create Document check on a company","description":"Using the body parameter `DocumentCheckCompanyCreate`","value":{"company_id":"de0d49bd-ea3d-4943-8bf6-dc0034aa6ec4","settings":{"document_type_key":"articles_of_association"}}},"individualWithFile":{"summary":"Create Document check on an individual with custom document type and some files","description":"Using the body parameter `DocumentCheckIndividualCreate`","value":{"individual_id":"4b36ce30-3d90-421a-b2d9-a046e5e4cfef","settings":{"document_type_key":"proof_of_address_document_key"},"data":{"files":[{"upload_ref":"dG1wL2hlbGxvLWRvdGZpbGUtMTY3OTQ5ODQxMjcyNUZJUVFFLnBuZyxpbWFnZS9wbmcsaGVsbG8tZG90ZmlsZS5wbmc="},{"upload_ref":"dG1wL2hlbGxvLWRvdGZpbGUyLTE2Nzk0OTg0MTI3OTQyRklRUUUucG5nLGltYWdlL3BuZyxoZWxsby1kb3RmaWxlMi5wbmc="}]}}},"withDocumentAnalysis":{"summary":"Create Document check on a company with automated document analysis","description":"Using the body parameter `DocumentCheckIndividualCreate`","value":{"company_id":"de0d49bd-ea3d-4943-8bf6-dc0034aa6ec4","settings":{"document_type_key":"registration_certificate","document_analysis":{"automatic_approval":true,"automatic_rejection":false,"parameters":{"model":"registration_certificate","max_age_in_days":92,"authorized_documents":["kbis"]}}},"data":{"files":[{"upload_ref":"dG1wL2hlbGxvLWRvdGZpbGUtMTY3OTQ5ODQxMjcyNUZJUVFFLnBuZyxpbWFnZS9wbmcsaGVsbG8tZG90ZmlsZS5wbmc="}]}}},"withFraudAnalysis":{"summary":"Create Document check on a company with fraud analysis","description":"Using the body parameter `DocumentCheckCompanyCreate`","value":{"company_id":"de0d49bd-ea3d-4943-8bf6-dc0034aa6ec4","settings":{"document_type_key":"bank_details","fraud_analysis":{"enabled":true}},"data":{"files":[{"upload_ref":"dG1wL2hlbGxvLWRvdGZpbGUtMTY3OTQ5ODQxMjcyNUZJUVFFLnBuZyxpbWFnZS9wbmcsaGVsbG8tZG90ZmlsZS5wbmc="}]}}}}}}},"responses":{"201":{"description":"Document check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - When the number of `files` is invalid, must be between 0 and 10\n  - When one of the `upload_ref` is expired or invalid\n  "}},"tags":["Document check"]}},"/v1/checks/document/{id}/add_files":{"post":{"operationId":"document-add-file","summary":"Add files","description":"Add some files to an existing Document check. Use [Upload a file](./file-upload-file) to get an `upload_ref`.\n\n---\n\n#### See also  \nLearn more about [Document checks](./document-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Document check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCheckAddFiles"}}}},"responses":{"201":{"description":"File has been added to the Document check\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - When the number of `files` is invalid, must be between 1 and 10\n  - When one of the `upload_ref` is expired or invalid\n  "},"404":{"description":"No Document check can be found."}},"tags":["Document check"]}},"/v1/checks/document/{id}":{"get":{"operationId":"document-get-one","summary":"Retrieve a Document check","description":"Returns detailed information about the specified Document check.\n\n---\n\n#### See also  \nLearn more about [Document checks](./document-checks-guide)  \nLearn more about [Files](./files-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Document check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No Document check can be found."}},"tags":["Document check"]}},"/v1/checks/document/{id}/force_review":{"post":{"operationId":"document-force-review","summary":"Force review","description":"Force the manual review of a Document check in status `in_progress` with files.\n\n---\n\n#### See also  \nLearn more about [Document checks](./document-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Document check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Status is set to `need_review`\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - When there is no file for this check\n  - When the status is not `in_progress` or `need_review`\n  "},"404":{"description":"No Document check can be found."}},"tags":["Document check"]}},"/v1/checks/document/{id}/review":{"patch":{"operationId":"document-review","summary":"Review a Document check","description":"Approve or reject a Document check. The Reviewer type will be set to `api`.\n\n---\n\n#### See also  \nLearn more about [Document checks](./document-checks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Document check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"Document check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No Document check can be found."}},"tags":["Document check"]}},"/v1/document_types":{"get":{"operationId":"document-type-get-many","summary":"List all document types","description":"Returns a list of all document types created in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Document check](./document-checks-guide)  \n","parameters":[{"name":"label","required":false,"in":"query","description":"Filter items by the `label.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Filter items by the `key.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"include_archived","required":false,"in":"query","description":"Include archived custom document types.  \nDefault is false","schema":{"type":"boolean"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _descending_ order with values of field `created_at`.  \nAvailable fields are `created_at`, `key`, `label` and `updated_at`.","schema":{"default":"created_at.desc","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"key":{"summary":"Sort by values of the \"key\" field in descending order","value":"key.desc"},"label":{"summary":"Sort by values of the \"label\" field in ascending order","value":"label"},"updated_at":{"summary":"Sort by values of the \"updated_at\" field in descending order","value":"updated_at.desc"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,key.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of document types created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentTypeList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Document check"]}},"/v1/checks/online_reputation":{"post":{"operationId":"online-reputation-create-one","summary":"Create an Online Reputation check","description":"Create an Online Reputation check. The check will be created and will automatically analyze the online reputation of the specified company.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnlineReputationCheckCreate"},"examples":{"minimal":{"summary":"Minimal online reputation check","description":"Create an online reputation check with minimal required fields","value":{"company_id":"01234567-89ab-cdef-0123-456789abcdef"}}}}}},"responses":{"201":{"description":"Online Reputation check has been created\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnlineReputationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Limit reached. Contact us at support@dotfile.com to lift all limits.\n  "}},"tags":["Online Reputation check"]}},"/v1/checks/online_reputation/{id}":{"get":{"operationId":"online-reputation-get-one","summary":"Retrieve an Online Reputation check","description":"Returns detailed information about the specified Online Reputation check.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Online Reputation check","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnlineReputationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No Online Reputation check can be found."}},"tags":["Online Reputation check"]}},"/v1/checks/online_reputation/{id}/review":{"patch":{"operationId":"online-reputation-review","summary":"Review an Online Reputation check","description":"Approve or reject an Online Reputation check. The Reviewer type will be set to `api`.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the Online Reputation check","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCheckInput"}}}},"responses":{"200":{"description":"Online Reputation check has been reviewed\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnlineReputationCheck"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No Online Reputation check can be found."}},"tags":["Online Reputation check"]}},"/v1/notes":{"post":{"operationId":"note-create-one-note","summary":"Create a note","description":"Create a note in a case.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCreate"},"examples":{"note_plain_text":{"summary":"Create a plain text note","value":{"case_id":"ba883bef-60fd-42d0-a447-7b7c987c3155","content":"This is a note!"}},"note_html":{"summary":"Create a HTML note","value":{"case_id":"ba883bef-60fd-42d0-a447-7b7c987c3155","content":"<p>This is a <strong>important</strong><br /></p><ul><li>Some bullet point</li><li><i>supporting some format</i></li></ul>"}},"note_html_with_link":{"summary":"Create a HTML note with link","value":{"case_id":"ba883bef-60fd-42d0-a447-7b7c987c3155","content":"<p>This is a <a href=\"https://dotfile.com\" target=\"_blank\" rel=\"noreferrer\">link</a></p>"}},"note_html_with_mention":{"summary":"Create a HTML note with mention","value":{"case_id":"ba883bef-60fd-42d0-a447-7b7c987c3155","content":"<p>This will mention <span data-type=\"mention\" data-id=\"user:d86b5c10-db43-4021-86b2-6c27df7819b0\"></span> and sent him a notification</p>"}}}}}},"responses":{"201":{"description":"Note has been created in the case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Note"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - Maximum items reached (default: 25). Contact us at support@dotfile.com if you need more items.\n  "},"404":{"description":"No case can be found."}},"tags":["Notes"]}},"/v1/notes/{id}/comments":{"post":{"operationId":"note-create-one-note-comment","summary":"Create a note comment","description":"Create a comment on a note.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the note comment","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCommentCreate"},"examples":{"comment_plain_text":{"summary":"Create a plain text comment","value":{"content":"This is a comment!"}},"comment_html":{"summary":"Create a HTML comment","value":{"content":"<p>This is a <strong>important</strong><br /></p><ul><li>Some bullet point</li><li><i>supporting some format</i></li></ul>"}},"comment_html_with_link":{"summary":"Create a HTML comment with link","value":{"content":"<p>This is a <a href=\"https://dotfile.com\" target=\"_blank\" rel=\"noreferrer\">link</a></p>"}},"comment_html_with_mention":{"summary":"Create a HTML comment with mention","value":{"content":"<p>This will mention <span data-type=\"mention\" data-id=\"user:d86b5c10-db43-4021-86b2-6c27df7819b0\"></span> and sent him a notification</p>"}}}}}},"responses":{"201":{"description":"Comment has been created on the note\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteComment"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - Maximum items reached (default: 50). Contact us at support@dotfile.com if you need more items.\n  "},"404":{"description":"No note can be found."}},"tags":["Notes"]}},"/v1/activities":{"get":{"operationId":"activity-get-many","summary":"List all activities","description":"Return a list of all activities in your Dotfile workspace\n\n---\n\n#### See also  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"case_id","required":false,"in":"query","description":"Filter items by the `case_id.{operator}` field.  \nYou can use the `eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"individual_id","required":false,"in":"query","description":"Filter items by the `individual_id.{operator}` field.  \nYou can use the `eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"company_id","required":false,"in":"query","description":"Filter items by the `company_id.{operator}` field.  \nYou can use the `eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"Filter items by the `type.{operator}` field.  \nYou can use the `eq`, `not_eq`, `in` and `not_in` operators, the `eq` operator being the default.  \nComma separated for multiple values (`in` and `not_in`).","schema":{"type":"string","enum":["api__created__case","contact__created__case","user__created__case","api__updated_info__case","contact__updated_info__case","user__updated_info__case","api__updated_status__case","user__updated_status__case","system__updated_status__case","api__updated_template__case","user__updated_template__case","system__updated_template__case","workflow__updated_template__case","api__updated_assignee__case","user__updated_assignee__case","system__updated_assignee__case","user__transferred_from_workspace__case","api__updated_metadata__case","contact__updated_metadata__case","user__updated_metadata__case","api__updated_risk__case","user__updated_risk__case","workflow__updated_risk__case","system__updated_risk__case","system__updated_review__case","user__updated_review__case","api__confirmed_review__case","system__confirmed_review__case","user__confirmed_review__case","api__deleted__case","user__deleted__case","api__added_tags__case","user__added_tags__case","system__added_tags__case","workflow__added_tags__case","api__removed_tags__case","user__removed_tags__case","system__added__case_control","system__removed__case_control","template__added__case_control","template__removed__case_control","api__updated__case_relation","contact__updated__case_relation","user__updated__case_relation","user__sent__communication","system__sent__communication","system__received__communication","api__created__individual","contact__created__individual","user__created__individual","api__updated__individual","contact__updated__individual","user__updated__individual","api__marked_as_relevant__individual","user__marked_as_relevant__individual","api__marked_as_not_relevant__individual","contact__marked_as_not_relevant__individual","user__marked_as_not_relevant__individual","contact__sent_collaboration_email__individual","api__deleted__individual","user__deleted__individual","api__created__company","contact__created__company","user__created__company","api__updated__company","contact__updated__company","user__updated__company","api__marked_as_relevant__company","user__marked_as_relevant__company","api__marked_as_not_relevant__company","contact__marked_as_not_relevant__company","user__marked_as_not_relevant__company","api__deleted__company","user__deleted__company","user__purchased__company_data","api__started__check","contact__started__check","user__started__check","system__started__check","system__rolled_back__check","template__started__check","workflow__started__check","api__set_review_needed__check","contact__set_review_needed__check","system__set_review_needed__check","api__approved__check","user__approved__check","system__approved__check","api__rejected__check","user__rejected__check","system__rejected__check","api__enabled_monitoring__check","user__enabled_monitoring__check","api__disabled_monitoring__check","user__disabled_monitoring__check","system__disabled_monitoring__check","system__expired__check","end_user__started_flow__check","end_user__finished_flow__check","user__deleted__check","api__deleted__check","api__ignored__aml_hit","user__ignored__aml_hit","api__confirmed__aml_hit","user__confirmed__aml_hit","user__acknowledged__company_monitoring_alert","user__run__template","api__run__template","system__run__template","contact__completed_forms__client_portal","contact__completed_checks__client_portal","user__mark_as_completed__case_control","system__mark_as_completed__case_control","user__mark_as_uncompleted__case_control","system__mark_as_uncompleted__case_control"]}},{"name":"author_id","required":false,"in":"query","description":"Filter items by the `author_id.{operator}` field.  \nYou can use the `eq` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `gte`, `lte`, `gt` and `lt` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"created_at_descending":{"summary":"Sort by values of the \"created_at\" field in descending order","value":"created_at.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of activities in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Activities"]}},"/v1/cases/{id}/tags":{"post":{"operationId":"case-tag-create-case-tags","summary":"Add tags to case","description":"Add tags to your case.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseTagsCreate"}}}},"responses":{"201":{"description":"Tags attached to your case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"Case not found or tags not found on case"}},"tags":["Tags"]},"get":{"operationId":"case-tag-get-case-tags","summary":"Get case's tags","description":"Get tags attached to your case.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Tags attached to your case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagList"}}}},"404":{"description":"Case not found"}},"tags":["Tags"]},"delete":{"operationId":"case-tag-delete-case-tags","summary":"Delete case's tags","description":"Delete tags attached to your case.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseTagsCreate"}}}},"responses":{"200":{"description":"Tags attached to your case\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"Case not found or tags not found on case"}},"tags":["Tags"]}},"/v1/tags":{"get":{"operationId":"tag-get-many","summary":"List all tags","description":"Returns a list of all tags in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"label","required":false,"in":"query","description":"Filter items by the `label.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at` and `label`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"label":{"summary":"Sort by values of the \"label\" field in descending order","value":"label.desc"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,label.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of tags in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagPaginatedList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Tags"]},"post":{"operationId":"tag-create-one","summary":"Create a tag","description":"Create a tag in your workspace.\n\n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCreate"}}}},"responses":{"201":{"description":"Tag has been created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Maximum items reached (default: 200). Contact us at support@dotfile.com if you need more items.\n  "}},"tags":["Tags"]}},"/v1/tags/{id}":{"get":{"operationId":"tag-get-one","summary":"Retrieve a tag","description":"Get the specified tag.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the tag","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"404":{"description":"No tag can be found."}},"tags":["Tags"]},"patch":{"operationId":"tag-update-one","summary":"Update a tag","description":"Update the specified tag.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the tag","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagUpdate"}}}},"responses":{"200":{"description":"Returns the updated tag\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No tag can be found."}},"tags":["Tags"]},"delete":{"operationId":"tag-delete-one","summary":"Delete a tag","description":"Delete the specified tag.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the tag","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No tag can be found."}},"tags":["Tags"]}},"/v1/files/upload":{"post":{"operationId":"file-upload-file","summary":"Upload a file","description":"Upload a file and get an `upload_ref` to be used for Identity Document Check or Documents checks.\n\n---\n\nMaximum file size is at most **20MB** but may vary depending on the usage afterward.\n\nThe `upload_ref` is valid for about **1 day**.\n\nThe accepted file formats are:\n- Image files:  \n  - `.avif`: AVIF image (`image/avif`)  \n  - `.bmp`: Windows OS/2 Bitmap Graphics (`image/bmp`)  \n  - `.gif`: Graphics Interchange Format (GIF, `image/gif`)  \n  - `.ico`: Icon format (`image/vnd.microsoft.icon`)  \n  - `.ico`: Icon format (`image/x-icon`)  \n  - `.jpeg, .jpg`: JPEG images (`image/jpeg`)  \n  - `.png`: Portable Network Graphics (`image/png`)  \n  - `.svg`: Scalable Vector Graphics (SVG, `image/svg+xml`)  \n  - `.tif, .tiff`: Tagged Image File Format (TIFF, `image/tiff`)  \n  - `.webp`: WEBP image (`image/webp`)  \n- Office files:  \n  - `.doc`: Microsoft Word (`application/msword`)  \n  - `.docx`: Microsoft Word (OpenXML, `application/vnd.openxmlformats-officedocument.wordprocessingml.document`)  \n  - `.odp`: OpenDocument presentation document (`application/vnd.oasis.opendocument.presentation`)  \n  - `.ods`: OpenDocument spreadsheet document (`application/vnd.oasis.opendocument.spreadsheet`)  \n  - `.odt`: OpenDocument text document (`application/vnd.oasis.opendocument.text`)  \n  - `.pdf`: Adobe Portable Document Format (PDF, `application/pdf`)  \n  - `.ppt`: Microsoft PowerPoint (`application/vnd.ms-powerpoint`)  \n  - `.pptx`: Microsoft PowerPoint (OpenXML, `application/vnd.openxmlformats-officedocument.presentationml.presentation`)  \n  - `.vsd`: Microsoft Visio (`application/vnd.visio`)  \n  - `.xls`: Microsoft Excel (`application/vnd.ms-excel`)  \n  - `.xlsx`: Microsoft Excel (OpenXML, `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`)  \n- Text files:  \n  - `.csv`: Comma-separated values (CSV, `text/csv`)  \n  - `.json`: JSON format (`application/json`)  \n  - `.jsonld`: JSON-LD format (`application/ld+json`)  \n  - `.rtf`: Rich Text Format (RTF, `application/rtf`)  \n  - `.txt`: Text, (generally ASCII or ISO 8859-n, `text/plain`)  \n- Archive files:  \n  - `.arc`: Archive document (multiple files embedded, `application/x-freearc`)  \n  - `.bz`: BZip archive (`application/x-bzip`)  \n  - `.bz2`: BZip2 archive (`application/x-bzip2`)  \n  - `.gz`: GZip Compressed Archive (`application/gzip`)  \n  - `.rar`: RAR archive (`application/vnd.rar`)  \n  - `.tar`: Tape Archive (TAR, `application/x-tar`)  \n  - `.zip`: ZIP archive (`application/zip`)  \n  - `.7z`: 7-zip archive (`application/x-7z-compressed`)  \n  - `.7z`: 7-zip archive on windows (`application/x-compressed`)  \n  - `.zip`: ZIP archive on windows (`application/x-zip-compressed`)\n\n---\n\n#### See also  \nLearn more about [Files](./files-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"201":{"description":"File uploaded and reference ready to be used.\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadedFile"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - When the file is missing\n  - When the file is empty\n  "},"413":{"description":"File too large, maximum file size is **20MB**."},"415":{"description":"File type not supported."}},"tags":["Files"]}},"/v1/files/{id}":{"get":{"operationId":"file-get-file","summary":"Download a file","description":"Download a file. Get file content as standard `binary/octet-stream` File.\n\n---\n\n#### See also  \nLearn more about [Files](./files-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the file","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"Get File content\n\n**ℹ️ Click to see full payload**","content":{"*/*":{"schema":{"type":"string","format":"binary"},"example":"File"}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No file can be found."}},"tags":["Files"]}},"/v1/templates":{"get":{"operationId":"template-get-many","summary":"List all templates","description":"Returns a list of all templates created in your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Templates](./templates-guide)  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"name","required":false,"in":"query","description":"Filter items by the `name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Filter items by the `key.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"case_auto_approval","required":false,"in":"query","description":"Filter items by the `case_auto_approval.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"boolean"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `updated_at`.  \nAvailable fields are `created_at`, `name` and `updated_at`.","schema":{"default":"updated_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"name":{"summary":"Sort by values of the \"name\" field in descending order","value":"name.desc"},"updated_at":{"summary":"Sort by values of the \"updated_at\" field in ascending order","value":"updated_at"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,name.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of templates created in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateList"}}}}},"tags":["Templates"]}},"/v1/templates/{id}":{"get":{"operationId":"template-get-one","summary":"Retrieve a template","description":"Returns information about the specified template.\n\n---\n\n#### See also  \nLearn more about [Templates](./templates-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the template","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No template can be found."}},"tags":["Templates"]}},"/v1/templates/run":{"post":{"operationId":"template-run-template","summary":"Run a template","description":"Run template attach on a Case.\n\n---\n\n#### See also  \nLearn more about [Templates](./templates-guide)  \nLearn more about [Cases](./cases-guide)  \n","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunTemplate"}}}},"responses":{"201":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateExecution"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  "}},"tags":["Templates"]}},"/v1/cases/{id}/share-client-portal-link":{"post":{"operationId":"client-portal-share-client-portal-link","summary":"Share client portal link","description":"Generate an authenticated link to access a client portal for a business contact.\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalShareLink"}}}},"responses":{"201":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalShareLinkResponse"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - Make sure that the client portal is online\n  - If `business_contact_id` is specified, the individual must belong to the case, be relevant, and have an email address. If not already a business contact, they will be marked as one\n  - If `business_contact_id` is not specified, the case must have a business contact\n  "},"404":{"description":"No case, client portal or business contact can be found."}},"tags":["Client portal"]}},"/v1/cases/{id}/complete-client-portal-wait-step":{"post":{"operationId":"client-portal-complete-client-portal-wait-step","summary":"Complete client portal wait step","description":"On a case in `draft` status, mark wait steps of client portal as completed\n\n---\n\n#### See also  \nLearn more about [Cases](./cases-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the case","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteClientPortalWaitStepInput"}}}},"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteClientPortalWaitStepResponse"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  - Case status is not `draft`\n  "},"404":{"description":"No case can be found."}},"tags":["Client portal"]}},"/v1/client-portals":{"get":{"operationId":"client-portal-get-many","summary":"Return a list of all client portals","description":"#### See also  \nLearn more about [Client portals](./client-portals-guide)  \n","parameters":[{"name":"name","required":false,"in":"query","description":"Filter items by the `name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Filter items by the `status.{operator}` field.  \nYou can use the `eq`, `not_eq`, `in` and `not_in` operators, the `eq` operator being the default.  \nComma separated for multiple values (`in` and `not_in`).","schema":{"type":"string","enum":["offline","online"]}},{"name":"default_language","required":false,"in":"query","description":"Filter items by the `default_language.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"created_at_descending":{"summary":"Sort by values of the \"created_at\" field in descending order","value":"created_at.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of client portals in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPortalList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Client portal"]}},"/v1/tables":{"get":{"operationId":"table-get-many","summary":"List tables","description":"List all tables defined in your workspace\n\n---\n\n#### See also  \nLearn more about [Tables](./tables-guide)  \n","parameters":[],"responses":{"200":{"description":"List of tables\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableList"}}}}},"tags":["Tables"]}},"/v1/tables/{id}":{"get":{"operationId":"table-get-one","summary":"Retrieve a table","description":"Returns a table with it's entries\n\n---\n\n#### See also  \nLearn more about [Tables](./tables-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Retrieve a table by its `key` first and if not found, by its Dotfile internal `id`.","examples":{"key":{"summary":"by key","value":"my-table-id"},"id":{"summary":"by id","value":"bf05e8f6-f909-487b-bb49-d58354c2c45c"}},"schema":{"type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableDetailed"}}}},"404":{"description":"No table can be found."}},"tags":["Tables"]}},"/v1/custom-properties/{target_entity}":{"get":{"operationId":"custom-property-get-custom-properties","summary":"List custom properties per entity type","description":"Returns a paginated list of custom properties for a given entity type. Options are not included in this list; use the detail endpoint to retrieve options.\n\n","parameters":[{"name":"target_entity","required":true,"in":"path","description":"Entity type to retrieve custom properties for.","schema":{"enum":["case","company","individual"],"type":"string"}},{"name":"label","required":false,"in":"query","description":"Filter items by the `label.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"key","required":false,"in":"query","description":"Filter items by the `key.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"include_archived","required":false,"in":"query","description":"Include archived custom properties.  \nDefault is false","schema":{"type":"boolean"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `created_at`.  \nAvailable fields are `created_at`, `key` and `label`.","schema":{"default":"created_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"key":{"summary":"Sort by values of the \"key\" field in descending order","value":"key.desc"},"label":{"summary":"Sort by values of the \"label\" field in ascending order","value":"label"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,key.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of custom properties for entity type\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomPropertyList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Custom properties"]}},"/v1/custom-properties/{target_entity}/{key}":{"get":{"operationId":"custom-property-get-custom-property","summary":"Get a custom property detail for a given entity type","description":"Returns a list of all custom properties in your dotfile workspace for a given entity type\n\n","parameters":[{"name":"target_entity","required":true,"in":"path","description":"Entity type to retrieve custom properties for.","schema":{"enum":["case","company","individual"],"type":"string"}},{"name":"key","required":true,"in":"path","description":"The custom property key","schema":{"example":"last_audit","type":"string"}}],"responses":{"200":{"description":"Detailed custom property\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CustomPropertyBoolean","title":"Boolean"},{"$ref":"#/components/schemas/CustomPropertyChoicesWithOptions","title":"Choices"},{"$ref":"#/components/schemas/CustomPropertyCountries","title":"Countries"},{"$ref":"#/components/schemas/CustomPropertyDate","title":"Date"},{"$ref":"#/components/schemas/CustomPropertyEmail","title":"Email"},{"$ref":"#/components/schemas/CustomPropertyNumeric","title":"Numeric"},{"$ref":"#/components/schemas/CustomPropertyPhoneNumber","title":"Phone number"},{"$ref":"#/components/schemas/CustomPropertyText","title":"Text"},{"$ref":"#/components/schemas/CustomPropertyUrl","title":"URL"}],"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/CustomPropertyBoolean","choices":"#/components/schemas/CustomPropertyChoicesWithOptions","countries":"#/components/schemas/CustomPropertyCountries","date":"#/components/schemas/CustomPropertyDate","email":"#/components/schemas/CustomPropertyEmail","numeric":"#/components/schemas/CustomPropertyNumeric","phone_number":"#/components/schemas/CustomPropertyPhoneNumber","text":"#/components/schemas/CustomPropertyText","url":"#/components/schemas/CustomPropertyUrl"}}}}}},"404":{"description":"No custom property can be found."}},"tags":["Custom properties"]}},"/v1/users":{"get":{"operationId":"user-get-many","summary":"List all users","description":"Returns users in your Dotfile workspace. By default, only active users are returned. If you need suspended users, you can set the `include_suspended` query parameter to \"true\".\n\n---\n\n#### See also  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"include_suspended","required":false,"in":"query","description":"Whether suspended users should be included or not in the response","schema":{"type":"boolean"}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of users in the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedUserList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n\n  "}},"tags":["Users"]}},"/v1/users/{id}":{"get":{"operationId":"user-get-one","summary":"Retrieve an user","description":"Returns information about the specified user.\n\n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the user","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"404":{"description":"No user can be found."}},"tags":["Users"]}},"/v1/webhooks":{"get":{"operationId":"webhook-get-many","summary":"List all webhooks","description":"Returns a list of all the webhooks endpoints registered to your Dotfile workspace.\n\n---\n\n#### See also  \nLearn more about [Webhooks](./webhooks-guide)  \nLearn more about [Filtering, Sorting and Pagination](./filtering-sorting-and-pagination)  \n","parameters":[{"name":"name","required":false,"in":"query","description":"Filter items by the `name.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"created_at","required":false,"in":"query","description":"Filter items by the `created_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"updated_at","required":false,"in":"query","description":"Filter items by the `updated_at.{operator}` field.  \nYou can use the `eq`, `not_eq`, `gt`, `gte`, `lt` and `lte` operators, the `eq` operator being the default.","schema":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,3})?(Z|([0-9]{2}:[0-9]{2}))?)?$","example":["2023-01-31","2023-01-31T13:30:00Z","2023-01-31T13:30:00.000Z"],"description":"Date (`yyyy-MM-dd` eg `2023-01-31`) or date time (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`) in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)"}},{"name":"status","required":false,"in":"query","description":"Filter items by the `status.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string","enum":["online","offline"]}},{"name":"type","required":false,"in":"query","description":"Filter items by the `type.{operator}` field.  \nYou can use the `eq` and `not_eq` operators, the `eq` operator being the default.","schema":{"type":"string","enum":["user","system"]}},{"name":"url","required":false,"in":"query","description":"Filter items by the `url.{operator}` field.  \nYou can use the `eq`, `not_eq`, `like` and `ilike` operators, the `eq` operator being the default.","schema":{"type":"string"}},{"name":"events","required":false,"in":"query","description":"Filter items by the `events.{operator}` field.  \nYou can use the `array_contains`, `array_not_contains` and `array_overlap` operators, the `array_contains` operator being the default.  \nComma separated for multiple values (`array_contains`, `array_not_contains` and `array_overlap`).","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Use this parameter to sort query results.  \nIf not specified, sorted in _ascending_ order with values of field `updated_at`.  \nAvailable fields are `created_at`, `name`, `status`, `type`, `updated_at` and `url`.","schema":{"default":"updated_at","type":"string"},"examples":{"created_at":{"summary":"Sort by values of the \"created_at\" field in ascending order","value":"created_at"},"name":{"summary":"Sort by values of the \"name\" field in descending order","value":"name.desc"},"status":{"summary":"Sort by values of the \"status\" field in ascending order","value":"status"},"type":{"summary":"Sort by values of the \"type\" field in descending order","value":"type.desc"},"updated_at":{"summary":"Sort by values of the \"updated_at\" field in ascending order","value":"updated_at"},"url":{"summary":"Sort by values of the \"url\" field in descending order","value":"url.desc"},"multiple":{"summary":"Sort by values of multiple fields","value":"created_at,name.desc"}}},{"name":"page","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose which page you want to display.  \nPage index starts at 1 (the default).","schema":{"default":1,"type":"number","minimum":1}},{"name":"limit","required":false,"in":"query","description":"Query response is paginated.  \nUse this parameter to choose the number of items per page.  \nLimit defaults to 20, maximum value is 100.","schema":{"type":"number","default":20,"minimum":1,"maximum":100}}],"responses":{"200":{"description":"List of webhooks registered with the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - One or multiple filtering parameters might be malformed. Make sure to use a supported operator and value for each filter.\n  - If specified, make sure the value of the `page` or `limit` query parameter are valid.\n  - Value of the `sort` parameter is invalid. Make sure the field name is supported, the sorting order is correctly specified, and a same field is not used multiple times for sorting.\n  "}},"tags":["Webhooks"]},"post":{"operationId":"webhook-create-one","summary":"Create a webhook","description":"Registers a new webhook endpoint.\n\n---\n\n#### See also  \nLearn more about [Webhooks](./webhooks-guide)  \n","callbacks":{"Case.ClientPortalWaitStepTriggered":{"{$request.body#/url}":{"post":{"operationId":"Case.ClientPortalWaitStepTriggered","summary":"Called on event `Case.ClientPortalWaitStepTriggered`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.Created":{"{$request.body#/url}":{"post":{"operationId":"Case.Created","summary":"Called on event `Case.Created`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.ReviewConfirmed":{"{$request.body#/url}":{"post":{"operationId":"Case.ReviewConfirmed","summary":"Called on event `Case.ReviewConfirmed`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.ReviewDue":{"{$request.body#/url}":{"post":{"operationId":"Case.ReviewDue","summary":"Called on event `Case.ReviewDue`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.ReviewUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.ReviewUpdated","summary":"Called on event `Case.ReviewUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.Updated":{"{$request.body#/url}":{"post":{"operationId":"Case.Updated","summary":"Called on event `Case.Updated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.AssigneeUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.AssigneeUpdated","summary":"Called on event `Case.AssigneeUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.ContactHasActionsUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.ContactHasActionsUpdated","summary":"Called on event `Case.ContactHasActionsUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.FlagsUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.FlagsUpdated","summary":"Called on event `Case.FlagsUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.InfoUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.InfoUpdated","summary":"Called on event `Case.InfoUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.MetadataUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.MetadataUpdated","summary":"Called on event `Case.MetadataUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.ReviewerHasActionsUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.ReviewerHasActionsUpdated","summary":"Called on event `Case.ReviewerHasActionsUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.RiskUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.RiskUpdated","summary":"Called on event `Case.RiskUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.StatusUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.StatusUpdated","summary":"Called on event `Case.StatusUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.TagsUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.TagsUpdated","summary":"Called on event `Case.TagsUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.TemplateUpdated":{"{$request.body#/url}":{"post":{"operationId":"Case.TemplateUpdated","summary":"Called on event `Case.TemplateUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Case.Deleted":{"{$request.body#/url}":{"post":{"operationId":"Case.Deleted","summary":"Called on event `Case.Deleted`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseDeletedWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"CaseReport.Generated":{"{$request.body#/url}":{"post":{"operationId":"CaseReport.Generated","summary":"Called on event `CaseReport.Generated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseReportWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Note.Created":{"{$request.body#/url}":{"post":{"operationId":"Note.Created","summary":"Called on event `Note.Created`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Note.Deleted":{"{$request.body#/url}":{"post":{"operationId":"Note.Deleted","summary":"Called on event `Note.Deleted`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Note.Updated":{"{$request.body#/url}":{"post":{"operationId":"Note.Updated","summary":"Called on event `Note.Updated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"NoteComment.Created":{"{$request.body#/url}":{"post":{"operationId":"NoteComment.Created","summary":"Called on event `NoteComment.Created`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCommentWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"NoteComment.Deleted":{"{$request.body#/url}":{"post":{"operationId":"NoteComment.Deleted","summary":"Called on event `NoteComment.Deleted`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCommentWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"NoteComment.Updated":{"{$request.body#/url}":{"post":{"operationId":"NoteComment.Updated","summary":"Called on event `NoteComment.Updated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCommentWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Individual.Created":{"{$request.body#/url}":{"post":{"operationId":"Individual.Created","summary":"Called on event `Individual.Created`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Individual.Updated":{"{$request.body#/url}":{"post":{"operationId":"Individual.Updated","summary":"Called on event `Individual.Updated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Individual.InfoUpdated":{"{$request.body#/url}":{"post":{"operationId":"Individual.InfoUpdated","summary":"Called on event `Individual.InfoUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Individual.MarkedAsNotRelevant":{"{$request.body#/url}":{"post":{"operationId":"Individual.MarkedAsNotRelevant","summary":"Called on event `Individual.MarkedAsNotRelevant`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Individual.MarkedAsRelevant":{"{$request.body#/url}":{"post":{"operationId":"Individual.MarkedAsRelevant","summary":"Called on event `Individual.MarkedAsRelevant`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Individual.Deleted":{"{$request.body#/url}":{"post":{"operationId":"Individual.Deleted","summary":"Called on event `Individual.Deleted`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualDeletedWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Company.Created":{"{$request.body#/url}":{"post":{"operationId":"Company.Created","summary":"Called on event `Company.Created`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Company.Updated":{"{$request.body#/url}":{"post":{"operationId":"Company.Updated","summary":"Called on event `Company.Updated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Company.InfoUpdated":{"{$request.body#/url}":{"post":{"operationId":"Company.InfoUpdated","summary":"Called on event `Company.InfoUpdated`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Company.MarkedAsNotRelevant":{"{$request.body#/url}":{"post":{"operationId":"Company.MarkedAsNotRelevant","summary":"Called on event `Company.MarkedAsNotRelevant`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Company.MarkedAsRelevant":{"{$request.body#/url}":{"post":{"operationId":"Company.MarkedAsRelevant","summary":"Called on event `Company.MarkedAsRelevant`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Company.Deleted":{"{$request.body#/url}":{"post":{"operationId":"Company.Deleted","summary":"Called on event `Company.Deleted`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyDeletedWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Check.Started":{"{$request.body#/url}":{"post":{"operationId":"Check.Started","summary":"Called on event `Check.Started`","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckWebhook","title":"AML Check Webhook"},{"$ref":"#/components/schemas/CompanyMonitoringCheckWebhook","title":"Company Monitoring Check Webhook"},{"$ref":"#/components/schemas/DocumentCheckWebhook","title":"Document Check Webhook"},{"$ref":"#/components/schemas/EkycCheckWebhook","title":"eKYC Check Webhook"},{"$ref":"#/components/schemas/ElectronicSignatureCheckWebhook","title":"Electronic Signature Check Webhook"},{"$ref":"#/components/schemas/FraudDatabaseCheckWebhook","title":"Fraud Database Check Webhook"},{"$ref":"#/components/schemas/IdDocumentCheckWebhook","title":"Identity Document Check Webhook"},{"$ref":"#/components/schemas/IdVerificationCheckWebhook","title":"Identity Verification Check Webhook"},{"$ref":"#/components/schemas/OnlineReputationCheckWebhook","title":"Online Reputation Check Webhook"}]}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Check.ReviewNeeded":{"{$request.body#/url}":{"post":{"operationId":"Check.ReviewNeeded","summary":"Called on event `Check.ReviewNeeded`","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckWebhook","title":"AML Check Webhook"},{"$ref":"#/components/schemas/CompanyMonitoringCheckWebhook","title":"Company Monitoring Check Webhook"},{"$ref":"#/components/schemas/DocumentCheckWebhook","title":"Document Check Webhook"},{"$ref":"#/components/schemas/EkycCheckWebhook","title":"eKYC Check Webhook"},{"$ref":"#/components/schemas/ElectronicSignatureCheckWebhook","title":"Electronic Signature Check Webhook"},{"$ref":"#/components/schemas/FraudDatabaseCheckWebhook","title":"Fraud Database Check Webhook"},{"$ref":"#/components/schemas/IdDocumentCheckWebhook","title":"Identity Document Check Webhook"},{"$ref":"#/components/schemas/IdVerificationCheckWebhook","title":"Identity Verification Check Webhook"},{"$ref":"#/components/schemas/OnlineReputationCheckWebhook","title":"Online Reputation Check Webhook"}]}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Check.Approved":{"{$request.body#/url}":{"post":{"operationId":"Check.Approved","summary":"Called on event `Check.Approved`","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckWebhook","title":"AML Check Webhook"},{"$ref":"#/components/schemas/CompanyMonitoringCheckWebhook","title":"Company Monitoring Check Webhook"},{"$ref":"#/components/schemas/DocumentCheckWebhook","title":"Document Check Webhook"},{"$ref":"#/components/schemas/EkycCheckWebhook","title":"eKYC Check Webhook"},{"$ref":"#/components/schemas/ElectronicSignatureCheckWebhook","title":"Electronic Signature Check Webhook"},{"$ref":"#/components/schemas/FraudDatabaseCheckWebhook","title":"Fraud Database Check Webhook"},{"$ref":"#/components/schemas/IdDocumentCheckWebhook","title":"Identity Document Check Webhook"},{"$ref":"#/components/schemas/IdVerificationCheckWebhook","title":"Identity Verification Check Webhook"},{"$ref":"#/components/schemas/OnlineReputationCheckWebhook","title":"Online Reputation Check Webhook"}]}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Check.Rejected":{"{$request.body#/url}":{"post":{"operationId":"Check.Rejected","summary":"Called on event `Check.Rejected`","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckWebhook","title":"AML Check Webhook"},{"$ref":"#/components/schemas/CompanyMonitoringCheckWebhook","title":"Company Monitoring Check Webhook"},{"$ref":"#/components/schemas/DocumentCheckWebhook","title":"Document Check Webhook"},{"$ref":"#/components/schemas/EkycCheckWebhook","title":"eKYC Check Webhook"},{"$ref":"#/components/schemas/ElectronicSignatureCheckWebhook","title":"Electronic Signature Check Webhook"},{"$ref":"#/components/schemas/FraudDatabaseCheckWebhook","title":"Fraud Database Check Webhook"},{"$ref":"#/components/schemas/IdDocumentCheckWebhook","title":"Identity Document Check Webhook"},{"$ref":"#/components/schemas/IdVerificationCheckWebhook","title":"Identity Verification Check Webhook"},{"$ref":"#/components/schemas/OnlineReputationCheckWebhook","title":"Online Reputation Check Webhook"}]}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Check.Expired":{"{$request.body#/url}":{"post":{"operationId":"Check.Expired","summary":"Called on event `Check.Expired`","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckWebhook","title":"AML Check Webhook"},{"$ref":"#/components/schemas/CompanyMonitoringCheckWebhook","title":"Company Monitoring Check Webhook"},{"$ref":"#/components/schemas/DocumentCheckWebhook","title":"Document Check Webhook"},{"$ref":"#/components/schemas/EkycCheckWebhook","title":"eKYC Check Webhook"},{"$ref":"#/components/schemas/ElectronicSignatureCheckWebhook","title":"Electronic Signature Check Webhook"},{"$ref":"#/components/schemas/FraudDatabaseCheckWebhook","title":"Fraud Database Check Webhook"},{"$ref":"#/components/schemas/IdDocumentCheckWebhook","title":"Identity Document Check Webhook"},{"$ref":"#/components/schemas/IdVerificationCheckWebhook","title":"Identity Verification Check Webhook"},{"$ref":"#/components/schemas/OnlineReputationCheckWebhook","title":"Online Reputation Check Webhook"}]}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"Check.Deleted":{"{$request.body#/url}":{"post":{"operationId":"Check.Deleted","summary":"Called on event `Check.Deleted`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckDeletedWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"DocumentOrder.Completed":{"{$request.body#/url}":{"post":{"operationId":"DocumentOrder.Completed","summary":"Called on event `DocumentOrder.Completed`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentOrderWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}},"DocumentOrder.Failed":{"{$request.body#/url}":{"post":{"operationId":"DocumentOrder.Failed","summary":"Called on event `DocumentOrder.Failed`","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentOrderWebhook"}}}},"responses":{"200":{"description":"Your server returns this code if it accepts the callback"}}}}}},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreate"}}}},"responses":{"201":{"description":"The created webhook\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the body payload matches the expected schema\n  - Maximum items reached (default: 50). Contact us at support@dotfile.com if you need more items.\n  "}},"tags":["Webhooks"]}},"/v1/webhooks/{id}":{"get":{"operationId":"webhook-get-one","summary":"Retrieve a webhook","description":"Retrieves the webhook endpoint with the given ID.\n\n---\n\n#### See also  \nLearn more about [Webhooks](./webhooks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the webhook","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"A webhook registered with the workspace\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No webhook can be found."}},"tags":["Webhooks"]},"patch":{"operationId":"webhook-update-one","summary":"Update a webhook","description":"Updates the webhook endpoint.\n\n---\n\n#### See also  \nLearn more about [Webhooks](./webhooks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the webhook","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdate"}}}},"responses":{"200":{"description":"The updated webhook\n\n**ℹ️ Click to see full payload**","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  - Make sure the body payload matches the expected schema\n  "},"404":{"description":"No webhook can be found."}},"tags":["Webhooks"]},"delete":{"operationId":"webhook-delete-one","summary":"Delete a webhook","description":"Deletes the webhook endpoint.\n\n---\n\n#### See also  \nLearn more about [Webhooks](./webhooks-guide)  \n","parameters":[{"name":"id","required":true,"in":"path","description":"Id of the webhook","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Webhook has been deleted"},"400":{"description":"The request is either malformed or contain invalid parameters.\n\n  - Make sure the identifier specified in the URL is a valid UUID\n  "},"404":{"description":"No webhook can be found."}},"tags":["Webhooks"]}}},"info":{"title":"⚙️ API specifications","description":"Dotfile public API documentation","version":"v1","contact":{}},"tags":[],"servers":[{"url":"https://api.dotfile.com","description":"Production environment"}],"components":{"securitySchemes":{"DotfileAPIKey":{"type":"apiKey","in":"header","name":"X-DOTFILE-API-KEY","description":"Configure your api key in the Workspace settings"}},"schemas":{"Ping":{"type":"object","properties":{"workspace_name":{"type":"string"}},"required":["workspace_name"]},"Risk":{"type":"object","properties":{"id":{"type":"string"},"mode":{"type":"string","enum":["automatic","manual"]},"level":{"type":"string","enum":["not_defined","low","medium","high","critical","prohibited"]},"comment":{"type":"string","nullable":true},"score":{"type":"number","nullable":true},"components":{"type":"object","nullable":true,"additionalProperties":{"type":"number"},"description":"Object in a format of `key` (string) / `value` (number)"},"flags":{"type":"object","nullable":true,"additionalProperties":{"type":"boolean"},"description":"Object in a format of `key` (string) / `value` (boolean)"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","mode","level","comment","score","components","flags","created_at","updated_at"]},"NestedUser":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string","format":"email"}},"required":["id","first_name","last_name","email"]},"CaseReview":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["approved","rejected","closed"]},"comment":{"type":"string","nullable":true},"reviewer_type":{"type":"string","enum":["user","system","api"]},"user":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]},"reviewed_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"next_review_at":{"type":"string","format":"date","description":"Next review date. `null` if no review schedule after this one.  \nDate in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)","nullable":true}},"required":["id","status","comment","reviewer_type","user","reviewed_at","next_review_at"]},"TemplateLight":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"key":{"type":"string"}},"required":["id","name","key"]},"CaseList":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","open","approved","rejected","closed"]},"review":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaseReview"}]},"external_id":{"type":"string","nullable":true},"assignee_id":{"type":"string","nullable":true},"template":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TemplateLight"}]},"template_id":{"type":"string","format":"uuid","nullable":true,"deprecated":true,"description":"Prefer using `template.key` instead."},"contact_has_actions":{"type":"boolean"},"reviewer_has_actions":{"type":"boolean"},"risk":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Risk"}]},"metadata":{"type":"object","nullable":true,"additionalProperties":{"type":"string"},"description":"Object in a format of `key` (string) / `value` (string)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_contact_action_at":{"type":"string","format":"date-time","description":"Latest contact action date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)","nullable":true},"flags":{"type":"array","description":"`all_checks_approved` `for_review` `for_first_collect` `for_recollection` `first_collect_completed`","items":{"type":"string","enum":["all_checks_approved","for_review","for_first_collect","for_recollection","first_collect_completed"]}},"tags":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","status","review","external_id","assignee_id","template","template_id","contact_has_actions","reviewer_has_actions","risk","metadata","last_activity_at","last_contact_action_at","flags","tags","created_at","updated_at"]},"Pagination":{"type":"object","properties":{"page":{"type":"number","description":"Current page number (defined in query parameter)","default":1},"limit":{"type":"number","description":"Item count per page (defined in query parameter)","default":20},"count":{"type":"number","description":"Total items count","example":42}},"required":["page","limit","count"]},"PaginatedCaseList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CaseList"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"PartialAddress":{"type":"object","properties":{"street_address":{"type":"string","nullable":true},"street_address_2":{"type":"string","nullable":true},"postal_code":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"}}},"CompanyClassification":{"type":"object","properties":{"type":{"type":"string"},"code":{"type":"string"},"description":{"type":"string","nullable":true}},"required":["type","code"]},"BankingInformation":{"type":"object","properties":{"iban":{"type":"string","nullable":true,"minLength":15,"maxLength":34,"example":"FR7630006000011234567890189","description":"[ISO 13616](https://en.wikipedia.org/wiki/International_Bank_Account_Number) IBAN (eg: `FR7630006000011234567890189`).\nSpaces will be removed and value upper-cased."},"bic":{"type":"string","nullable":true,"minLength":8,"maxLength":12,"example":"AGRIFRPPXXX","description":"[ISO 9362](https://en.wikipedia.org/wiki/ISO_9362) BIC (eg: `AGRIFRPPXXX`).\nSpaces will be removed and value upper-cased."}},"required":["iban","bic"]},"CaseRelationCreateWithRef":{"type":"object","properties":{"voting_rights_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"ownership_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true},"source_company_ref":{"type":"string","description":"Reference to the source company within the same payload.\nUse the `ref` value of the company this relation comes FROM.\nWhen omitted, defaults to the main company of the case."}}},"CompanyCreateInput":{"type":"object","properties":{"name":{"type":"string","description":"Name for the company (at most 160 characters).","maxLength":160,"minLength":1},"type":{"type":"string","enum":["main","affiliated"],"default":"main"},"commercial_name":{"type":"string","nullable":true,"description":"Commercial name for the company (at most 160 characters).","maxLength":160,"minLength":1},"registration_number":{"type":"string","nullable":true},"registration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"status":{"type":"string","enum":["live","closed","not_reported"],"default":"not_reported"},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"address":{"default":{},"allOf":[{"$ref":"#/components/schemas/PartialAddress"}]},"classifications":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CompanyClassification"}},"banking_information":{"$ref":"#/components/schemas/BankingInformation"},"share_capital":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"employer_identification_number":{"type":"string","nullable":true},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to create the company.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the company"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"ref":{"type":"string","description":"Unique reference identifier within this request payload.\nUse this to reference the company from other entities (e.g., in `source_company_ref` of relations).\nCan be any unique string (e.g., \"main-co\", \"holding-1\")."},"relations":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CaseRelationCreateWithRef"}}},"required":["name"]},"IndividualCreateInput":{"type":"object","properties":{"first_name":{"type":"string"},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string"},"maiden_name":{"type":"string","nullable":true},"is_business_contact":{"type":"boolean","default":false,"description":"Set to `true` if this individual should be contacted regarding the case, this will also make the `email` required."},"is_beneficial_owner":{"type":"boolean","default":false,"description":"Set to true if this individual ultimately owns or controls the main company"},"is_delegator":{"type":"boolean","default":false,"description":"Set to true if this individual is delegating its signing authority to the signatory of the case.  \nIndividual cannot be both delegator and signatory \nNot relevant individual cannot be delegator"},"is_signatory":{"type":"boolean","default":false,"description":"Set to true if this person has delegated authority to be a signatory of the case, this will also make the `email` required.  \nIndividual cannot be both signatory and delegator \nNot relevant individual cannot be signatory"},"email":{"type":"string","nullable":true,"description":"Required if individual `is_business_contact` is `true`. \nMust be a valid email as defined in the [HTML spec](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) (eg. must match the following JavaScript-compatible regular expression: ```/^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/```)","format":"email"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"address":{"default":{},"allOf":[{"$ref":"#/components/schemas/PartialAddress"}]},"banking_information":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BankingInformation"}]},"tax_identification_number":{"type":"string","nullable":true},"social_security_number":{"type":"string","nullable":true},"phone_number":{"type":"string","format":"e.164","minLength":10,"maxLength":15,"example":"+33601234567","nullable":true,"description":"[E.164](https://en.wikipedia.org/wiki/E.164) phoneNumber (eg `+XXXXXXXXXXX`)"},"position":{"type":"string","nullable":true},"ownership_percentage":{"type":"number","nullable":true,"minimum":0,"maximum":100},"voting_rights_percentage":{"type":"number","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to create the individual.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the individual"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"ref":{"type":"string","description":"Unique reference identifier within this request payload.\nUse this to reference the individual from other entities in the same payload.\nCan be any unique string (e.g., \"john-doe\", \"ceo-1\")."},"relations":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CaseRelationCreateWithRef"}}},"required":["first_name","last_name"]},"CaseCreate":{"type":"object","properties":{"name":{"type":"string","description":"Name for the case (at most 180 characters).","maxLength":180,"minLength":1},"status":{"type":"string","enum":["draft","open"],"default":"open","description":"Optional status for this case, Defaults to `open`.\n   To set the status to `approved`, `rejected` or `closed`, use the [Create a case review](./case-review-create-one) endpoint."},"external_id":{"type":"string","description":"Optional external id for this case. You can use that to reference an entity of your system. Must be unique if set."},"template_key":{"type":"string","description":"Optional template key to attach template to this case.","nullable":true},"template_id":{"type":"string","format":"uuid","description":"Prefer using `template_key` instead.  \nOptional template id to attach template to this case. Cannot be set at the same time as `template_key`.","nullable":true,"deprecated":true},"assignee_id":{"type":"string","format":"uuid","description":"Optional assignee id to assign a user to this case.","nullable":true},"metadata":{"type":"object","nullable":true,"description":"Optional metadata in a format of `key` (string) / `value` (string) for this case.","additionalProperties":{"type":"string"},"example":{"custom_key":"true","my_data":"this is important","count":"42"}},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to create the case.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the case"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"tags":{"nullable":true,"description":"Optional tags for this case. Either tag `id`, or tag `label`. Tag labels are case insensitive","example":["High risk","8468f8e0-1067-4099-b8c3-824ae8b7204e"],"type":"array","items":{"type":"string"}},"companies":{"default":[],"description":"Optional array of companies to create within this case.\nEach company can reference other companies in the same payload using the `ref` field.\nAt least one company with `type: main` is expected if companies are provided.","type":"array","items":{"$ref":"#/components/schemas/CompanyCreateInput"}},"individuals":{"default":[],"description":"Optional array of individuals to create within this case.\nIndividuals can reference companies in the same payload using `source_company_ref` in their relations.","type":"array","items":{"$ref":"#/components/schemas/IndividualCreateInput"}}},"required":["name"]},"Review":{"type":"object","properties":{"comment":{"type":"string","nullable":true},"reviewed_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"reviewer_type":{"type":"string","enum":["user","system","api"],"nullable":true},"user":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]}},"required":["comment","reviewed_at","reviewer_type","user"]},"Control":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["manual","automatic_logic","automatic_code"]},"archived_at":{"type":"string","format":"date-time","description":"Archive date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)","nullable":true}},"required":["id","label","key","type","archived_at"]},"CaseControl":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"is_completed":{"type":"boolean"},"review":{"$ref":"#/components/schemas/Review"},"control":{"$ref":"#/components/schemas/Control"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","is_completed","review","control","created_at","updated_at"]},"Address":{"type":"object","properties":{"street_address":{"type":"string","nullable":true},"street_address_2":{"type":"string","nullable":true},"postal_code":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"}},"required":["street_address","street_address_2","postal_code","city","state","region","country"]},"Check":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","nullable":true},"company_id":{"type":"string","nullable":true},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","enum":["id_verification","id_document","aml","company_monitoring","document","ekyc","electronic_signature","fraud_database","online_reputation"]},"subtype":{"type":"string","nullable":true,"description":"Contains the `subtype` for some check `type`:  \n- `document`: Currently contains `\"document_type:{document_type_key}\"`  \n- `electronic_signature`: Contains `\"document_template:{document_template_key}\"`  \n- For all other check type, always contains `null`"},"document_type_key":{"type":"string","description":"Set only for `document` Check with the document type key."},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","individual_id","company_id","is_internal","status","type","subtype","created_at","updated_at","last_activity_at"]},"CaseRelationOfEntity":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"to_company_id":{"type":"string","format":"uuid"},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","to_company_id","voting_rights_percentage","ownership_percentage","roles","position","created_at","updated_at"]},"Individual":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"is_beneficial_owner":{"type":"boolean","description":"Set to true if this individual ultimately owns or controls the main company"},"is_business_contact":{"type":"boolean","description":"Set to true if this individual should be contacted regarding the case"},"is_delegator":{"type":"boolean","description":"Set to true if this individual is delegating its signing authority to the signatory of the case"},"is_signatory":{"type":"boolean","description":"Set to true if this person has delegated authority to be a signatory of the case"},"is_relevant":{"type":"boolean"},"first_name":{"type":"string"},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string"},"maiden_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true,"format":"email"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"address":{"$ref":"#/components/schemas/Address"},"banking_information":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BankingInformation"}]},"tax_identification_number":{"type":"string","nullable":true},"social_security_number":{"type":"string","nullable":true},"phone_number":{"type":"string","format":"e.164","minLength":10,"maxLength":15,"example":"+33601234567","nullable":true,"description":"Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)  \n[E.164](https://en.wikipedia.org/wiki/E.164) phoneNumber (eg `+XXXXXXXXXXX`)"},"position":{"type":"string","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"custom_properties":{"type":"object","description":"Custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to read the individual.  \n\nArchived custom properties are omitted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"When there are no value for this custom property on the individual"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"checks":{"type":"array","items":{"$ref":"#/components/schemas/Check"}},"relations":{"type":"array","items":{"$ref":"#/components/schemas/CaseRelationOfEntity"}},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","case_id","roles","is_beneficial_owner","is_business_contact","is_delegator","is_signatory","is_relevant","first_name","middle_name","last_name","maiden_name","email","birth_date","birth_country","birth_place","address","banking_information","tax_identification_number","social_security_number","phone_number","position","ownership_percentage","voting_rights_percentage","custom_properties","checks","relations","created_at","updated_at","last_activity_at"]},"DocumentOrder":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"product_ref":{"type":"string"},"name":{"type":"string"},"price_tier":{"type":"string"},"status":{"type":"string","enum":["created","processing","completed","failed"]},"file_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","product_ref","name","price_tier","status","file_id","created_at","updated_at"]},"Company":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["main","affiliated"]},"name":{"type":"string","maxLength":160},"is_relevant":{"type":"boolean"},"commercial_name":{"type":"string","nullable":true,"maxLength":160},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"registration_number":{"type":"string","nullable":true,"maxLength":180},"registration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"status":{"type":"string","enum":["live","closed","not_reported"],"default":"not_reported"},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"entity_legal_form_label":{"type":"string","readOnly":true,"description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages.","nullable":true},"address":{"$ref":"#/components/schemas/Address"},"classifications":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CompanyClassification"}},"banking_information":{"$ref":"#/components/schemas/BankingInformation"},"share_capital":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"employer_identification_number":{"type":"string","nullable":true},"custom_properties":{"type":"object","description":"Custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to read the company.  \n\nArchived custom properties are omitted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"When there are no value for this custom property on the company"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"document_orders":{"type":"array","items":{"$ref":"#/components/schemas/DocumentOrder"}},"checks":{"type":"array","items":{"$ref":"#/components/schemas/Check"}},"relations":{"type":"array","items":{"$ref":"#/components/schemas/CaseRelationOfEntity"}},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","case_id","type","name","is_relevant","commercial_name","country","registration_number","registration_date","status","legal_form","entity_legal_form","entity_legal_form_label","address","classifications","banking_information","share_capital","tax_identification_number","website_url","employer_identification_number","custom_properties","document_orders","checks","relations","created_at","updated_at","last_activity_at"]},"CaseClientPortal":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"type":"string","enum":["KYB","KYC"]},"wait_step_key":{"type":"string","nullable":true,"description":"Set when a contact reaches and triggers a `wait` step of this client portal, which will also emit a `ClientPortal.ClientPortalWaitStepTriggered` webhook event.\nYou then need to release the `wait` step using [Complete client portal wait step](./client-portal-complete-client-portal-wait-step) to allow the contact to continue the client portal forms"}},"required":["id","name","type","wait_step_key"]},"CaseCreateResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","open","approved","rejected","closed"]},"review":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaseReview"}]},"external_id":{"type":"string","nullable":true},"template":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TemplateLight"}]},"template_id":{"type":"string","format":"uuid","nullable":true,"deprecated":true,"description":"Prefer using `template.key` instead."},"contact_has_actions":{"type":"boolean"},"reviewer_has_actions":{"type":"boolean"},"flags":{"type":"array","description":"`all_checks_approved` `for_review` `for_first_collect` `for_recollection` `first_collect_completed`","items":{"type":"string","enum":["all_checks_approved","for_review","for_first_collect","for_recollection","first_collect_completed"]}},"tags":{"type":"array","items":{"type":"string"}},"risk":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Risk"}]},"custom_properties":{"type":"object","description":"Custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to read the case.  \n\nArchived custom properties are omitted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"When there are no value for this custom property on the case"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"metadata":{"type":"object","nullable":true,"additionalProperties":{"type":"string"},"description":"Object in a format of `key` (string) / `value` (string)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_contact_action_at":{"type":"string","format":"date-time","description":"Latest contact action date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)","nullable":true},"controls":{"type":"array","items":{"$ref":"#/components/schemas/CaseControl"}},"individuals":{"type":"array","items":{"$ref":"#/components/schemas/Individual"}},"companies":{"type":"array","items":{"$ref":"#/components/schemas/Company"}},"assignee":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]},"assignee_id":{"type":"string","nullable":true,"deprecated":true,"description":"The user id of the assignee of the case. `null` if not assigned.  \n\nPrefer to use `assignee.id` instead."},"client_portal":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaseClientPortal"}]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","status","review","external_id","template","template_id","contact_has_actions","reviewer_has_actions","flags","tags","risk","custom_properties","metadata","last_activity_at","last_contact_action_at","controls","individuals","companies","assignee","assignee_id","client_portal","created_at","updated_at"]},"CaseDetailed":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","open","approved","rejected","closed"]},"review":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaseReview"}]},"external_id":{"type":"string","nullable":true},"template":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TemplateLight"}]},"template_id":{"type":"string","format":"uuid","nullable":true,"deprecated":true,"description":"Prefer using `template.key` instead."},"contact_has_actions":{"type":"boolean"},"reviewer_has_actions":{"type":"boolean"},"flags":{"type":"array","description":"`all_checks_approved` `for_review` `for_first_collect` `for_recollection` `first_collect_completed`","items":{"type":"string","enum":["all_checks_approved","for_review","for_first_collect","for_recollection","first_collect_completed"]}},"tags":{"type":"array","items":{"type":"string"}},"risk":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Risk"}]},"custom_properties":{"type":"object","description":"Custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to read the case.  \n\nArchived custom properties are omitted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"When there are no value for this custom property on the case"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"metadata":{"type":"object","nullable":true,"additionalProperties":{"type":"string"},"description":"Object in a format of `key` (string) / `value` (string)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_contact_action_at":{"type":"string","format":"date-time","description":"Latest contact action date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)","nullable":true},"controls":{"type":"array","items":{"$ref":"#/components/schemas/CaseControl"}},"individuals":{"type":"array","items":{"$ref":"#/components/schemas/Individual"}},"companies":{"type":"array","items":{"$ref":"#/components/schemas/Company"}},"assignee":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]},"client_portal":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaseClientPortal"}]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","status","review","external_id","template","template_id","contact_has_actions","reviewer_has_actions","flags","tags","risk","custom_properties","metadata","last_activity_at","last_contact_action_at","controls","individuals","companies","assignee","client_portal","created_at","updated_at"]},"CaseUpdate":{"type":"object","properties":{"name":{"type":"string","description":"Update the name of the case (at most 180 characters).","maxLength":180,"minLength":1},"status":{"type":"string","enum":["draft","open"],"description":"Update the status of the case to `draft` or `open`.\n  To set the status to `approved`, `rejected` or `closed`, use the [Create a case review](./case-review-create-one) endpoint."},"external_id":{"type":"string","description":"Update the external id of the case. Must be unique if set. Set to `null` to clear it."},"template_key":{"type":"string","description":"Update the template of the case using template key. Set to `null` to detach template.","nullable":true},"template_id":{"type":"string","format":"uuid","description":"Prefer using `template_key` instead.  \nUpdate the template of the case. Set to `null` to detach template. Cannot be set at the same time as `template_key`.","nullable":true,"deprecated":true},"assignee_id":{"type":"string","format":"uuid","description":"Update the user assignee of the case. Set to `null` to un-assign.","nullable":true},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to update the case.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the case"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"metadata":{"type":"object","nullable":true,"description":"Update all the metadata in a format of `key` (string) / `value` (string) of the case. Set to `null` to remove all metadata.","additionalProperties":{"type":"string"},"example":{"custom_key":"true","my_data":"this is important","count":"42"}}}},"Case":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","open","approved","rejected","closed"]},"review":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CaseReview"}]},"external_id":{"type":"string","nullable":true},"assignee_id":{"type":"string","nullable":true},"template":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TemplateLight"}]},"template_id":{"type":"string","format":"uuid","nullable":true,"deprecated":true,"description":"Prefer using `template.key` instead."},"contact_has_actions":{"type":"boolean"},"reviewer_has_actions":{"type":"boolean"},"flags":{"type":"array","description":"`all_checks_approved` `for_review` `for_first_collect` `for_recollection` `first_collect_completed`","items":{"type":"string","enum":["all_checks_approved","for_review","for_first_collect","for_recollection","first_collect_completed"]}},"tags":{"type":"array","items":{"type":"string"}},"risk":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Risk"}]},"custom_properties":{"type":"object","description":"Custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to read the case.  \n\nArchived custom properties are omitted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"When there are no value for this custom property on the case"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"metadata":{"type":"object","nullable":true,"additionalProperties":{"type":"string"},"description":"Object in a format of `key` (string) / `value` (string)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"last_contact_action_at":{"type":"string","format":"date-time","description":"Latest contact action date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)","nullable":true},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","status","review","external_id","assignee_id","template","template_id","contact_has_actions","reviewer_has_actions","flags","tags","risk","custom_properties","metadata","last_activity_at","last_contact_action_at","created_at","updated_at"]},"NoteComment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"note_id":{"type":"string","format":"uuid","description":"Comment's note id"},"content":{"type":"string","description":"HTML content"},"author":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]},"author_type":{"type":"string","enum":["user","api"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","note_id","content","author","author_type","created_at","updated_at"]},"Note":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid","description":"Note's case id"},"content":{"type":"string","description":"HTML content"},"comments":{"description":"Maximum of 50 comments per note.","type":"array","items":{"$ref":"#/components/schemas/NoteComment"}},"author":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]},"author_type":{"type":"string","enum":["user","api"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","case_id","content","comments","author","author_type","created_at","updated_at"]},"CaseNotePaginateList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Note"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"CaseDocumentDocumentOrder":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]},"CaseDocumentCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"subtype":{"type":"string","nullable":true,"description":"Contains the `subtype` for some check `type`:  \n- `document`: Currently contains `\"document_type:{document_type_key}\"`  \n- `electronic_signature`: Contains `\"document_template:{document_template_key}\"`  \n- For all other check type, always contains `null`"},"document_type_key":{"type":"string","description":"Set only for `document` Check with the document type key."},"type":{"type":"string","enum":["document","id_document","id_verification","electronic_signature"]},"version":{"type":"string","enum":["current","history"]}},"required":["id","subtype","type","version"]},"CaseDocument":{"type":"object","properties":{"company_id":{"type":"string"},"individual_id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["case_report","document_order","check__document","check__id_document","check__id_verification","check__electronic_signature"]},"document_order":{"$ref":"#/components/schemas/CaseDocumentDocumentOrder"},"check":{"$ref":"#/components/schemas/CaseDocumentCheck"},"file_ids":{"description":"Use the [Download a file](./file-get-file) operation to retrieve each files","type":"array","items":{"type":"string"}},"updated_at":{"type":"string","format":"date-time","description":"Latest update date of the files  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["name","type","file_ids","updated_at"]},"CaseDocumentList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CaseDocument"}}},"required":["data"]},"CaseReportParams":{"type":"object","properties":{"timezone":{"type":"string","default":"Europe/Paris","description":"Only accepts TZ identifier. Refer to https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for TZ database values."}}},"CaseReviewApprovedCreate":{"type":"object","properties":{"status":{"type":"string","enum":["approved"]},"comment":{"type":"string","description":"May be **required** depending on your workspace settings"},"reviewed_at":{"type":"string","format":"date-time","description":"Optional review date, will default to current time if not set. Useful to anti-date a review  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"next_review_at":{"type":"string","format":"date","description":"Computed by default from your workspace settings and the case risk level by default but optionally override the next review date for this case, with `null` to force not date (no next review scheduled).  \nDate in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)","nullable":true}},"required":["status"]},"CaseReviewRejectedCreate":{"type":"object","properties":{"status":{"type":"string","enum":["rejected"]},"comment":{"type":"string","description":"May be **required** depending on your workspace settings"},"reviewed_at":{"type":"string","format":"date-time","description":"Optional review date, will default to current time if not set. Useful to anti-date a review  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["status"]},"CaseReviewClosedCreate":{"type":"object","properties":{"status":{"type":"string","enum":["closed"]},"comment":{"type":"string","description":"May be **required** depending on your workspace settings"},"reviewed_at":{"type":"string","format":"date-time","description":"Optional review date, will default to current time if not set. Useful to anti-date a review  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["status"]},"RiskCreate":{"type":"object","properties":{"level":{"type":"string","enum":["not_defined","low","medium","high","critical","prohibited"]},"score":{"type":"number","format":"integer","maximum":2147483647,"minimum":-2147483648},"components":{"type":"object","additionalProperties":{"type":"number","maximum":2147483647,"minimum":-2147483648},"example":{"customer_score":1400,"product_score":3000,"delivery_channel_score":2000,"transaction_score":1667,"geography_score":2000}},"flags":{"type":"object","additionalProperties":{"type":"boolean"},"example":{"prohibited_country_ubo":true,"complex_company_alert":false}}},"required":["level"]},"CaseRelationCreateCompanyTarget":{"type":"object","properties":{"from_company_id":{"type":"string","format":"uuid"},"to_company_id":{"type":"string","format":"uuid","description":"When omitted, will default to the `main` company of the case"},"voting_rights_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"ownership_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true}},"required":["from_company_id"]},"CaseRelationCreateIndividualTarget":{"type":"object","properties":{"from_individual_id":{"type":"string","format":"uuid"},"to_company_id":{"type":"string","format":"uuid","description":"When omitted, will default to the `main` company of the case"},"voting_rights_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"ownership_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true}},"required":["from_individual_id"]},"CaseRelation":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"from_company_id":{"type":"string","format":"uuid","nullable":true},"from_individual_id":{"type":"string","format":"uuid","nullable":true},"to_company_id":{"type":"string","format":"uuid"},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","from_company_id","from_individual_id","to_company_id","voting_rights_percentage","ownership_percentage","roles","position","created_at","updated_at"]},"CaseRelationUpdate":{"type":"object","properties":{"voting_rights_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"ownership_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true},"to_company_id":{"type":"string","format":"uuid"}}},"Country":{"type":"object","properties":{"code":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"example":"FR","description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"name":{"type":"string","example":"France"},"localName":{"type":"string","example":"France"},"emoji":{"type":"string","example":"🇫🇷"},"emojiCode":{"type":"string","example":"1F1EB 1F1F7"},"vendor":{"type":"string","enum":["pappers","kompany","creditsafe","kyckr","companies_house","inpi","info_camere","transparenzregister","topograph","charity_commission","none"],"example":"pappers"}},"required":["code","name","localName","emoji","emojiCode","vendor"]},"CountryList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Country"}}},"required":["data"]},"EntityLegalForm":{"type":"object","properties":{"code":{"type":"string","example":"8MEC","description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"example":"CA","nullable":true,"description":"`null` for legal entity form available to all countries  \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"subdivision":{"type":"string","example":"CA-NB","description":"Country subdivision"},"label":{"type":"string","description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages."},"languages":{"type":"object","example":{"fr":{"label":"Société à responsabilité limitée du Nouveau-Brunswick","abbreviations":[]},"en":{"label":"New Brunswick limited liability partnership","abbreviations":["LLP"]}}}},"required":["code","country","label","languages"]},"EntityLegalFormList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/EntityLegalForm"}}},"required":["data"]},"CompanySearch":{"type":"object","properties":{"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"name":{"type":"string"},"search_ref":{"type":"string","description":"Opaque string, use it to fetch the information of this company via [Fetch company data](./company-data-fetch)"},"registration_number":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"disclosable":{"type":"boolean","description":"When `false`, indicate that the company information is not fully publicly available. Company data fetch will be partial"},"status":{"type":"string","description":"Company status (live, closed, not_reported)","enum":["live","closed","not_reported"]}},"required":["country","name","search_ref","registration_number","address","disclosable","status"]},"CompanySearchList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanySearch"}}},"required":["data"]},"IndividualBeneficialOwner":{"type":"object","properties":{"entity_type":{"type":"string","enum":["individual"]},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string","nullable":true},"maiden_name":{"type":"string","nullable":true},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true}},"required":["entity_type","name","address","position","first_name","middle_name","last_name","maiden_name","birth_date","birth_country","birth_place","tax_identification_number","voting_rights_percentage","ownership_percentage"]},"CompanyBeneficialOwner":{"type":"object","properties":{"entity_type":{"type":"string","enum":["company"]},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"registration_number":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"entity_legal_form_label":{"type":"string","readOnly":true,"description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages.","nullable":true},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"ownership_percentage":{"type":"number","format":"float","nullable":true}},"required":["entity_type","name","address","position","registration_number","tax_identification_number","legal_form","entity_legal_form","entity_legal_form_label","country","ownership_percentage"]},"IndividualShareholder":{"type":"object","properties":{"entity_type":{"type":"string","enum":["individual"]},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string","nullable":true},"maiden_name":{"type":"string","nullable":true},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true}},"required":["entity_type","name","address","position","first_name","middle_name","last_name","maiden_name","birth_date","birth_country","birth_place","tax_identification_number","voting_rights_percentage","ownership_percentage"]},"CompanyShareholder":{"type":"object","properties":{"entity_type":{"type":"string","enum":["company"]},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"registration_number":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"entity_legal_form_label":{"type":"string","readOnly":true,"description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages.","nullable":true},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"ownership_percentage":{"type":"number","format":"float","nullable":true}},"required":["entity_type","name","address","position","registration_number","tax_identification_number","legal_form","entity_legal_form","entity_legal_form_label","country","ownership_percentage"]},"IndividualRepresentative":{"type":"object","properties":{"entity_type":{"type":"string","enum":["individual"]},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string","nullable":true},"maiden_name":{"type":"string","nullable":true},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"voting_rights_percentage":{"type":"number","format":"float","nullable":true}},"required":["entity_type","name","address","position","first_name","middle_name","last_name","maiden_name","birth_date","birth_country","birth_place","tax_identification_number","voting_rights_percentage"]},"CompanyRepresentative":{"type":"object","properties":{"entity_type":{"type":"string","enum":["company"]},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"registration_number":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"entity_legal_form_label":{"type":"string","readOnly":true,"description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages.","nullable":true},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"}},"required":["entity_type","name","address","position","registration_number","tax_identification_number","legal_form","entity_legal_form","entity_legal_form_label","country"]},"MergedIndividualRelation":{"type":"object","properties":{"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true}},"required":["voting_rights_percentage","ownership_percentage","roles","position"]},"MergedCompanyRelation":{"type":"object","properties":{"ownership_percentage":{"type":"number","format":"float","nullable":true},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true}},"required":["ownership_percentage","roles","position"]},"MergedIndividual":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"position":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string","nullable":true},"maiden_name":{"type":"string","nullable":true},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"ownership_percentage":{"type":"number","format":"float","nullable":true},"is_beneficial_owner":{"type":"boolean"},"is_business_contact":{"type":"boolean"},"relations":{"type":"array","items":{"$ref":"#/components/schemas/MergedIndividualRelation"}}},"required":["address","position","first_name","middle_name","last_name","maiden_name","birth_date","birth_country","birth_place","tax_identification_number","voting_rights_percentage","roles","ownership_percentage","is_beneficial_owner","is_business_contact","relations"]},"MergedCompany":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"registration_number":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"type":{"type":"string","enum":["affiliated"]},"relations":{"type":"array","items":{"$ref":"#/components/schemas/MergedCompanyRelation"}}},"required":["name","address","registration_number","tax_identification_number","legal_form","entity_legal_form","country","type","relations"]},"CompanyData":{"type":"object","properties":{"name":{"type":"string"},"commercial_name":{"type":"string","nullable":true},"registration_number":{"type":"string"},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"status":{"type":"string","enum":["live","closed","not_reported"]},"registration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"entity_legal_form_label":{"type":"string","readOnly":true,"description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages.","nullable":true},"address":{"$ref":"#/components/schemas/Address"},"share_capital":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"classifications":{"type":"array","items":{"$ref":"#/components/schemas/CompanyClassification"}},"beneficial_owners":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/IndividualBeneficialOwner"},{"$ref":"#/components/schemas/CompanyBeneficialOwner"}]}},"shareholders":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/IndividualShareholder"},{"$ref":"#/components/schemas/CompanyShareholder"}]}},"legal_representatives":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/IndividualRepresentative"},{"$ref":"#/components/schemas/CompanyRepresentative"}]}},"merged_individuals":{"type":"array","items":{"$ref":"#/components/schemas/MergedIndividual"}},"merged_companies":{"type":"array","items":{"$ref":"#/components/schemas/MergedCompany"}}},"required":["name","commercial_name","registration_number","country","status","registration_date","legal_form","entity_legal_form","entity_legal_form_label","address","share_capital","tax_identification_number","website_url","classifications","beneficial_owners","shareholders","legal_representatives","merged_individuals","merged_companies"]},"AvailableDocument":{"type":"object","properties":{"name":{"type":"string","example":"Extrait INPI"},"product_ref":{"type":"string","example":"cGFwcGVycyxmcl9leHRyYWl0X2lucGk="},"vendor":{"type":"string","enum":["pappers","kyckr","companies_house","info_camere","transparenzregister","topograph"],"example":"pappers"},"price_tier":{"type":"string","example":"tier_0","enum":["tier_0","tier_1","tier_2","tier_3","tier_4","tier_5","tier_6","tier_7","tier_8","tier_9"]},"delivery":{"type":"string","example":"instant","enum":["instant","delayed"]},"delivery_time":{"type":"number","format":"integer","description":"In seconds. Unknown if null.","nullable":true,"example":0},"sample_url":{"type":"string","nullable":true}},"required":["name","product_ref","vendor","price_tier","delivery","delivery_time","sample_url"]},"AvailableDocumentList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AvailableDocument"}}},"required":["data"]},"DocumentOrderCreate":{"type":"object","properties":{"company_id":{"type":"string","format":"uuid"},"product_ref":{"type":"string","description":"Retrieve possible value from [List available documents](./company-data-available-documents)."}},"required":["company_id","product_ref"]},"CompanyList":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["main","affiliated"]},"name":{"type":"string","maxLength":160},"is_relevant":{"type":"boolean"},"commercial_name":{"type":"string","nullable":true,"maxLength":160},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"registration_number":{"type":"string","nullable":true,"maxLength":180},"registration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"status":{"type":"string","enum":["live","closed","not_reported"],"default":"not_reported"},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"entity_legal_form_label":{"type":"string","readOnly":true,"description":"Label in the origin country language of the [ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code.  \nMay contains multiple labels separated with a comma `,` when the code is assigned to multiple label in different languages.","nullable":true},"address":{"$ref":"#/components/schemas/Address"},"classifications":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CompanyClassification"}},"banking_information":{"$ref":"#/components/schemas/BankingInformation"},"share_capital":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"employer_identification_number":{"type":"string","nullable":true},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","case_id","type","name","is_relevant","commercial_name","country","registration_number","registration_date","status","legal_form","entity_legal_form","entity_legal_form_label","address","classifications","banking_information","share_capital","tax_identification_number","website_url","employer_identification_number","last_activity_at","created_at","updated_at"]},"PaginatedCompanyList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyList"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"CaseRelationCreateImplicitTarget":{"type":"object","properties":{"to_company_id":{"type":"string","format":"uuid","description":"When omitted, will default to the `main` company of the case"},"voting_rights_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"ownership_percentage":{"type":"number","format":"float","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"position":{"type":"string","nullable":true}}},"CompanyCreate":{"type":"object","properties":{"name":{"type":"string","description":"Name for the company (at most 160 characters).","maxLength":160,"minLength":1},"type":{"type":"string","enum":["main","affiliated"],"default":"main"},"commercial_name":{"type":"string","nullable":true,"description":"Commercial name for the company (at most 160 characters).","maxLength":160,"minLength":1},"registration_number":{"type":"string","nullable":true},"registration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"status":{"type":"string","enum":["live","closed","not_reported"],"default":"not_reported"},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"address":{"default":{},"allOf":[{"$ref":"#/components/schemas/PartialAddress"}]},"classifications":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CompanyClassification"}},"banking_information":{"$ref":"#/components/schemas/BankingInformation"},"share_capital":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"employer_identification_number":{"type":"string","nullable":true},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to create the company.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the company"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"case_id":{"type":"string","format":"uuid","description":"Case id where the company is created"},"relations":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CaseRelationCreateImplicitTarget"}}},"required":["name","case_id"]},"CompanyUpdate":{"type":"object","properties":{"name":{"type":"string","description":"Name for the company (at most 160 characters).","maxLength":160,"minLength":1},"commercial_name":{"type":"string","nullable":true,"description":"Commercial name for the company (at most 160 characters).","maxLength":160,"minLength":1},"registration_number":{"type":"string","nullable":true},"registration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"status":{"type":"string","enum":["live","closed","not_reported"],"default":"not_reported"},"legal_form":{"type":"string","nullable":true},"entity_legal_form":{"type":"string","nullable":true,"description":"[ISO 20275](https://www.gleif.org/en/about-lei/iso-20275-entity-legal-forms-code-list) code (eg: `6CHY`)"},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"address":{"default":{},"allOf":[{"$ref":"#/components/schemas/PartialAddress"}]},"classifications":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CompanyClassification"}},"banking_information":{"$ref":"#/components/schemas/BankingInformation"},"share_capital":{"type":"string","nullable":true},"tax_identification_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true},"employer_identification_number":{"type":"string","nullable":true},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to update the company.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the company"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}}}},"Pappers":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["pappers"]},"raw":{"type":"object","description":"For **Pappers**, see <https://www.pappers.fr/api/documentation#operation/entreprise>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Kompany":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["kompany"]},"raw":{"type":"object","description":"For **Kompany**, see <https://www.kompany.com/kycapi/docs/guides/guides/working-with-endpoints/company-datasets> (requires a Kompany account)","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Creditsafe":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["creditsafe"]},"raw":{"type":"object","description":"For **Creditsafe**, see <https://www.creditsafe.com/gb/en/enterprise/integrations/api-documentation.html>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Kyckr":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["kyckr"]},"raw":{"type":"object","description":"For **Kyckr**, see <https://developer.kyckr.com/api/#/>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Companieshouse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["companies_house"]},"raw":{"type":"object","description":"For **Companies House**, see <https://developer.company-information.service.gov.uk/>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Inpi":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["inpi"]},"raw":{"type":"object","description":"For **INPI**, see <https://data.inpi.fr/content/editorial/Acces_API_Entreprises>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Infocamere":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["info_camere"]},"raw":{"type":"string","description":"For **InfoCamere**, see <https://aiws.infocamere.it/docs/manual/manual.xhtml> (requires an InfoCamere account)"},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Transparenzregister":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["transparenzregister"]},"raw":{"type":"object","description":"For **Transparenzregister**, see <https://api.transparenzregister.de/> (requires a Transparenzregister account)","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Topograph":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["topograph"]},"raw":{"type":"object","description":"For **Topograph**, see <https://docs.topograph.co/>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"Charitycommission":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["charity_commission"]},"raw":{"type":"object","description":"For **Charity Commission**, see <https://register-of-charities.charitycommission.gov.uk/en/documentation-on-the-api>","additionalProperties":true},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"CompanyVendorData":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"name":{"type":"string","enum":["pappers","kompany","creditsafe","kyckr","companies_house","inpi","info_camere","transparenzregister","topograph","charity_commission"]},"raw":{"type":"object","description":"Raw company data information from vendor, exact shape is different for each vendor:\n\n  - For **Pappers**, see <https://www.pappers.fr/api/documentation#operation/entreprise>\n  - For **INPI**, see <https://data.inpi.fr/content/editorial/Acces_API_Entreprises>\n  - For **Kompany**, see <https://www.kompany.com/kycapi/docs/guides/guides/working-with-endpoints/company-datasets> (requires a Kompany account)\n  - For **Creditsafe**, see <https://www.creditsafe.com/gb/en/enterprise/integrations/api-documentation.html>\n  - For **Kyckr**, see <https://developer.kyckr.com/api/#/>\n  - For **Companies House**, see <https://developer.company-information.service.gov.uk/>\n  - For **InfoCamere**, see <https://aiws.infocamere.it/docs/manual/manual.xhtml> (requires an InfoCamere account)\n  - For **Transparenzregister**, see <https://api.transparenzregister.de/> (requires a Transparenzregister account)\n  - For **Topograph**, see <https://docs.topograph.co/>\n  - For **Charity Commission**, see <https://register-of-charities.charitycommission.gov.uk/en/documentation-on-the-api>"},"fetched_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","company_id","name","raw","fetched_at"]},"CompanyVendorDataList":{"type":"object","properties":{"data":{"discriminator":{"propertyName":"name"},"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Pappers"},{"$ref":"#/components/schemas/Kompany"},{"$ref":"#/components/schemas/Creditsafe"},{"$ref":"#/components/schemas/Kyckr"},{"$ref":"#/components/schemas/Companieshouse"},{"$ref":"#/components/schemas/Inpi"},{"$ref":"#/components/schemas/Infocamere"},{"$ref":"#/components/schemas/Transparenzregister"},{"$ref":"#/components/schemas/Topograph"},{"$ref":"#/components/schemas/Charitycommission"}]}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"CompanySetRelevant":{"type":"object","properties":{"is_relevant":{"type":"boolean"}},"required":["is_relevant"]},"IndividualList":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"is_beneficial_owner":{"type":"boolean","description":"Set to true if this individual ultimately owns or controls the main company"},"is_business_contact":{"type":"boolean","description":"Set to true if this individual should be contacted regarding the case"},"is_delegator":{"type":"boolean","description":"Set to true if this individual is delegating its signing authority to the signatory of the case"},"is_signatory":{"type":"boolean","description":"Set to true if this person has delegated authority to be a signatory of the case"},"is_relevant":{"type":"boolean"},"first_name":{"type":"string"},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string"},"maiden_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true,"format":"email"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"address":{"$ref":"#/components/schemas/Address"},"banking_information":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BankingInformation"}]},"tax_identification_number":{"type":"string","nullable":true},"social_security_number":{"type":"string","nullable":true},"phone_number":{"type":"string","format":"e.164","minLength":10,"maxLength":15,"example":"+33601234567","nullable":true,"description":"Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)  \n[E.164](https://en.wikipedia.org/wiki/E.164) phoneNumber (eg `+XXXXXXXXXXX`)"},"position":{"type":"string","nullable":true},"ownership_percentage":{"type":"number","format":"float","nullable":true},"voting_rights_percentage":{"type":"number","format":"float","nullable":true},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","case_id","roles","is_beneficial_owner","is_business_contact","is_delegator","is_signatory","is_relevant","first_name","middle_name","last_name","maiden_name","email","birth_date","birth_country","birth_place","address","banking_information","tax_identification_number","social_security_number","phone_number","position","ownership_percentage","voting_rights_percentage","last_activity_at","created_at","updated_at"]},"PaginatedIndividualList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IndividualList"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"IndividualCreate":{"type":"object","properties":{"first_name":{"type":"string"},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string"},"maiden_name":{"type":"string","nullable":true},"is_business_contact":{"type":"boolean","default":false,"description":"Set to `true` if this individual should be contacted regarding the case, this will also make the `email` required."},"is_beneficial_owner":{"type":"boolean","default":false,"description":"Set to true if this individual ultimately owns or controls the main company"},"is_delegator":{"type":"boolean","default":false,"description":"Set to true if this individual is delegating its signing authority to the signatory of the case.  \nIndividual cannot be both delegator and signatory \nNot relevant individual cannot be delegator"},"is_signatory":{"type":"boolean","default":false,"description":"Set to true if this person has delegated authority to be a signatory of the case, this will also make the `email` required.  \nIndividual cannot be both signatory and delegator \nNot relevant individual cannot be signatory"},"email":{"type":"string","nullable":true,"description":"Required if individual `is_business_contact` is `true`. \nMust be a valid email as defined in the [HTML spec](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) (eg. must match the following JavaScript-compatible regular expression: ```/^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/```)","format":"email"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"address":{"default":{},"allOf":[{"$ref":"#/components/schemas/PartialAddress"}]},"banking_information":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BankingInformation"}]},"tax_identification_number":{"type":"string","nullable":true},"social_security_number":{"type":"string","nullable":true},"phone_number":{"type":"string","format":"e.164","minLength":10,"maxLength":15,"example":"+33601234567","nullable":true,"description":"[E.164](https://en.wikipedia.org/wiki/E.164) phoneNumber (eg `+XXXXXXXXXXX`)"},"position":{"type":"string","nullable":true},"ownership_percentage":{"type":"number","nullable":true,"minimum":0,"maximum":100},"voting_rights_percentage":{"type":"number","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to create the individual.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the individual"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}},"case_id":{"type":"string","format":"uuid","description":"Case id where the individual is created"},"relations":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/CaseRelationCreateImplicitTarget"}}},"required":["first_name","last_name","case_id"]},"IndividualUpdate":{"type":"object","properties":{"first_name":{"type":"string"},"middle_name":{"type":"string","description":"May contain multiple middle names","nullable":true},"last_name":{"type":"string"},"maiden_name":{"type":"string","nullable":true},"is_business_contact":{"type":"boolean","default":false,"description":"Set to `true` if this individual should be contacted regarding the case, this will also make the `email` required."},"is_beneficial_owner":{"type":"boolean","default":false,"description":"Set to true if this individual ultimately owns or controls the main company"},"is_delegator":{"type":"boolean","default":false,"description":"Set to true if this individual is delegating its signing authority to the signatory of the case.  \nIndividual cannot be both delegator and signatory \nNot relevant individual cannot be delegator"},"is_signatory":{"type":"boolean","default":false,"description":"Set to true if this person has delegated authority to be a signatory of the case, this will also make the `email` required.  \nIndividual cannot be both signatory and delegator \nNot relevant individual cannot be signatory"},"email":{"type":"string","nullable":true,"description":"Required if individual `is_business_contact` is `true`. \nMust be a valid email as defined in the [HTML spec](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) (eg. must match the following JavaScript-compatible regular expression: ```/^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/```)","format":"email"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_place":{"type":"string","nullable":true},"address":{"default":{},"allOf":[{"$ref":"#/components/schemas/PartialAddress"}]},"banking_information":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BankingInformation"}]},"tax_identification_number":{"type":"string","nullable":true},"social_security_number":{"type":"string","nullable":true},"phone_number":{"type":"string","format":"e.164","minLength":10,"maxLength":15,"example":"+33601234567","nullable":true,"description":"[E.164](https://en.wikipedia.org/wiki/E.164) phoneNumber (eg `+XXXXXXXXXXX`)"},"position":{"type":"string","nullable":true},"ownership_percentage":{"type":"number","nullable":true,"minimum":0,"maximum":100},"voting_rights_percentage":{"type":"number","nullable":true,"minimum":0,"maximum":100},"roles":{"type":"array","description":"`legal_representative` `shareholder`","items":{"type":"string","enum":["legal_representative","shareholder"]}},"custom_properties":{"type":"object","description":"Optional partial custom properties object in a format of `key` (string) / `value` (string | boolean | string[] | number | null) to update the individual.  \n\nArchived custom properties are not accepted.","additionalProperties":{"oneOf":[{"type":"string","description":"- For custom property `text`, maxLength depends on the settings `isMultiLine`. singleLine: maxLength=250, multiLine: maxLength=1500  \n\n- For custom property `email`, maxLength=250.  \n\n- For custom property `url`, maxLength=2000  \n\n- For custom property `date`, date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-dd` eg `2023-01-31`)  \n\n- For custom property `phone_number`, phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format (eg `+33123456789`)","nullable":true},{"type":"boolean","description":"For custom property `boolean`","nullable":true},{"type":"number","nullable":true,"description":"For custom property `numeric`, actual minimum and maximum will depend on the property settings but will be within -9007199254740991 and 9007199254740991","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"array","description":"- For custom property `choices`, contains the `key` of the options  \n\n- For custom property `countries`, contains the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)","items":{"type":"string"},"nullable":true},{"nullable":true,"description":"To remove the value for this custom property on the individual"}]},"example":{"custom_text":"Custom properties text","custom_boolean":true,"custom_date":"2012-12-12","custom_countries":["FR"],"custom_choices":["option1","option2"],"custom_numeric":12.3,"custom_property":null}}}},"IndividualSetRelevant":{"type":"object","properties":{"is_relevant":{"type":"boolean"}},"required":["is_relevant"]},"CheckList":{"type":"object","properties":{"data":{"example":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","individual_id":"5e1a2886-de4b-4c98-ae73-aee8cf7d044f","company_id":null,"is_internal":false,"status":"in_progress","type":"id_verification","subtype":null,"created_at":"2025-07-25T16:08:26.962Z","updated_at":"2025-07-25T16:08:26.962Z","last_activity_at":"2025-07-25T16:08:26.962Z"},{"id":"88ef7487-a863-459f-a738-d94ecc3e7d61","individual_id":null,"company_id":"11676e8d-0200-46d3-81f6-c11f340669a2","is_internal":true,"status":"need_review","type":"document","subtype":"document_type:bank_details","document_type_key":"bank_details","created_at":"2025-07-25T16:08:26.962Z","updated_at":"2025-07-25T16:08:26.962Z","last_activity_at":"2025-07-25T16:08:26.962Z"}],"type":"array","items":{"$ref":"#/components/schemas/Check"}},"pagination":{"example":{"page":1,"limit":20,"count":2},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"CompanyMonitoringCheckDataSettingsDTO":{"type":"object","properties":{"alert_categories":{"type":"array","items":{"type":"string","enum":["financial_changes","legal_and_compliance","company_status","operational_changes","debt_and_collection","shareholder_changes","other"]}}},"required":["alert_categories"]},"CompanyMonitoringCheckDataVendorDTO":{"type":"object","properties":{"name":{"type":"string","enum":["creditsafe"]},"is_monitored":{"type":"boolean"}},"required":["name","is_monitored"]},"CompanyMonitoringCheckDataDTO":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"$ref":"#/components/schemas/CompanyMonitoringCheckDataSettingsDTO"},"vendor":{"$ref":"#/components/schemas/CompanyMonitoringCheckDataVendorDTO"},"review":{"$ref":"#/components/schemas/Review"}},"required":["result","settings","vendor","review"]},"CompanyMonitoringCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"company_monitoring","enum":["company_monitoring"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `company_monitoring` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/CompanyMonitoringCheckDataDTO"}},"required":["id","company_id","is_internal","status","type","subtype","last_activity_at","data"]},"EkycCheckSettingsCreate":{"type":"object","properties":{"vendor":{"type":"string","enum":["gbg"],"description":"Vendor to use for eKYC verification. Currently only `gbg` is supported."},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"}}},"EkycCheckCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/EkycCheckSettingsCreate"}]}},"required":["individual_id"]},"EkycCheckDataSettings":{"type":"object","properties":{"vendor":{"type":"string","enum":["gbg"]},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"}},"required":["vendor","automatic_approval","automatic_rejection"]},"EkycCheckDataVendor":{"type":"object","properties":{"name":{"type":"string","enum":["gbg"]},"profile_id":{"type":"string"},"profile_name":{"type":"string","nullable":true},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"score":{"type":"number","nullable":true}},"required":["name","profile_id","profile_name","country","score"]},"EkycCheckDataInformation":{"type":"object","properties":{"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"birth_date":{"type":"string","nullable":true},"address":{"$ref":"#/components/schemas/Address"}},"required":["first_name","last_name","birth_date","address"]},"EkycCheckDataAi":{"type":"object","properties":{"interpretation":{"type":"string","nullable":true}},"required":["interpretation"]},"EkycCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"decision":{"type":"string","enum":["match","inconclusive","inconsistent"],"nullable":true},"settings":{"$ref":"#/components/schemas/EkycCheckDataSettings"},"vendor":{"$ref":"#/components/schemas/EkycCheckDataVendor"},"review":{"$ref":"#/components/schemas/Review"},"information":{"$ref":"#/components/schemas/EkycCheckDataInformation"},"ai":{"$ref":"#/components/schemas/EkycCheckDataAi"}},"required":["result","decision","settings","vendor","review","information","ai"]},"EkycCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","format":"uuid"},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"ekyc","enum":["ekyc"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `ekyc` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/EkycCheckData"}},"required":["id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"ReviewCheckInput":{"type":"object","properties":{"action":{"type":"string","enum":["approve","reject"]},"comment":{"type":"string","nullable":true,"description":"Optional comment for the review."},"override":{"type":"boolean","description":"Set to true to change the status of an already reviewed check (in status approved or rejected)."}},"required":["action"]},"ElectronicSignatureCheckSettingsCreate":{"type":"object","properties":{"document_template_key":{"type":"string"},"automatic_approval":{"type":"boolean"}},"required":["document_template_key"]},"ElectronicSignatureCheckCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/ElectronicSignatureCheckSettingsCreate"}]}},"required":["individual_id"]},"ElectronicSignatureCheckDataSettings":{"type":"object","properties":{"document_template_key":{"type":"string"},"automatic_approval":{"type":"boolean"}},"required":["document_template_key","automatic_approval"]},"ElectronicSignatureCheckDataVendor":{"type":"object","properties":{"name":{"type":"string","enum":["yousign"]},"status":{"type":"string","nullable":true},"signature_request_ref":{"type":"string","nullable":true},"signer_ref":{"type":"string","nullable":true},"document_ref":{"type":"string","nullable":true},"signature_link":{"type":"string","nullable":true},"signature_link_expiration_date":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"started_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"ended_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["name","status","signature_request_ref","signer_ref","document_ref","signature_link","signature_link_expiration_date","started_at","ended_at"]},"ElectronicSignatureCheckDataInformation":{"type":"object","properties":{"audit_trail_id":{"type":"string","nullable":true},"file_id":{"type":"string","nullable":true},"signed_file_id":{"type":"string","nullable":true}},"required":["audit_trail_id","file_id","signed_file_id"]},"ElectronicSignatureCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"$ref":"#/components/schemas/ElectronicSignatureCheckDataSettings"},"vendor":{"$ref":"#/components/schemas/ElectronicSignatureCheckDataVendor"},"information":{"$ref":"#/components/schemas/ElectronicSignatureCheckDataInformation"},"review":{"$ref":"#/components/schemas/Review"}},"required":["result","settings","vendor","information","review"]},"ElectronicSignatureCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","format":"uuid"},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"electronic_signature","enum":["electronic_signature"]},"subtype":{"type":"string","nullable":false,"description":"Contains `\"document_template:{settings.document_template_key}\"`"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/ElectronicSignatureCheckData"}},"required":["id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"FraudDatabaseCheckSettingsCreate":{"type":"object","properties":{"vendor":{"type":"string","enum":["cifas"],"description":"Vendor to use for fraud database check. Currently only `cifas` is supported."},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"}}},"FraudDatabaseCheckCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/FraudDatabaseCheckSettingsCreate"}]},"company_id":{"type":"string","format":"uuid"}},"required":["individual_id","company_id"]},"FraudDatabaseCheckDataSettings":{"type":"object","properties":{"vendor":{"type":"string","enum":["cifas"]},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"}},"required":["vendor","automatic_approval","automatic_rejection"]},"FraudDatabaseCheckDataVendor":{"type":"object","properties":{"name":{"type":"string","enum":["cifas"]},"search_reference":{"type":"string","nullable":true}},"required":["name","search_reference"]},"FraudDatabaseCheckDataInformation":{"type":"object","properties":{"entity_type":{"type":"string","enum":["company","individual"]},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"birth_date":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone_number":{"type":"string","nullable":true},"company_name":{"type":"string","nullable":true},"company_number":{"type":"string","nullable":true},"vat_number":{"type":"string","nullable":true},"address":{"$ref":"#/components/schemas/Address"}},"required":["entity_type","first_name","last_name","birth_date","email","phone_number","company_name","company_number","vat_number","address"]},"FraudDatabaseCheckDataAiAnalysis":{"type":"object","properties":{"interpretation":{"type":"string","nullable":true}},"required":["interpretation"]},"FraudDatabaseCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"$ref":"#/components/schemas/FraudDatabaseCheckDataSettings"},"vendor":{"$ref":"#/components/schemas/FraudDatabaseCheckDataVendor"},"review":{"$ref":"#/components/schemas/Review"},"information":{"$ref":"#/components/schemas/FraudDatabaseCheckDataInformation"},"ai_analysis":{"$ref":"#/components/schemas/FraudDatabaseCheckDataAiAnalysis"}},"required":["result","settings","vendor","review","information","ai_analysis"]},"FraudDatabaseCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid","nullable":true},"individual_id":{"type":"string","format":"uuid","nullable":true},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"fraud_database","enum":["fraud_database"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `fraud_database` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/FraudDatabaseCheckData"}},"required":["id","company_id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"IdDocumentCheckSettingsCreate":{"type":"object","properties":{"vendor":{"type":"string","enum":["veriff","idnow"]},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"}}},"IdDocumentCheckDataFile":{"type":"object","properties":{"front_upload_ref":{"type":"string"},"back_upload_ref":{"type":"string","default":null,"nullable":true}},"required":["front_upload_ref"]},"IdDocumentCheckCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/IdDocumentCheckSettingsCreate"}]},"data":{"$ref":"#/components/schemas/IdDocumentCheckDataFile"}},"required":["individual_id"]},"IdDocumentCheckDataSettings":{"type":"object","properties":{"vendor":{"type":"string","enum":["veriff","idnow"],"default":"idnow"},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"}},"required":["vendor","automatic_approval","automatic_rejection"]},"IdDocumentCheckDataVendor":{"type":"object","properties":{"name":{"type":"string","enum":["veriff","idnow"]},"verification_ref":{"type":"string","nullable":true},"verification_group_ref":{"type":"string","nullable":true},"verification_status":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"comment":{"type":"string","nullable":true}},"required":["name","verification_ref","verification_group_ref","verification_status","started_at","comment"]},"DetailedResultsDocument":{"type":"object","properties":{"data_validation":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"data_consistency":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"image_integrity":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"visual_authenticity":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"compromised_document":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"data_comparison":{"type":"string","enum":["approved","rejected","error"],"nullable":true}},"required":["data_validation","data_consistency","image_integrity","visual_authenticity","compromised_document","data_comparison"]},"IdDocumentCheckDataDetailedResults":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/DetailedResultsDocument"}},"required":["document"]},"IdDocumentCheckDataInformation":{"type":"object","properties":{"document_type":{"type":"string","enum":["passport","identity_card","driving_license","residence_permit","visa","other"],"nullable":true},"document_number":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"maiden_name":{"type":"string","nullable":true},"gender":{"type":"string","nullable":true},"nationality":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"expiration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"issuing_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"issuing_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"front_file_id":{"type":"string","nullable":true},"back_file_id":{"type":"string","nullable":true}},"required":["document_type","document_number","first_name","last_name","maiden_name","gender","nationality","birth_date","birth_country","expiration_date","issuing_date","issuing_country","front_file_id","back_file_id"]},"IdDocumentCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"$ref":"#/components/schemas/IdDocumentCheckDataSettings"},"vendor":{"$ref":"#/components/schemas/IdDocumentCheckDataVendor"},"review":{"$ref":"#/components/schemas/Review"},"detailed_results":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/IdDocumentCheckDataDetailedResults"}]},"information":{"$ref":"#/components/schemas/IdDocumentCheckDataInformation"}},"required":["result","settings","vendor","review","detailed_results","information"]},"IdDocumentCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","format":"uuid"},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"id_document","enum":["id_document"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `id_document` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/IdDocumentCheckData"}},"required":["id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"IdVerificationCheckSettingsCreate":{"type":"object","properties":{"vendor":{"type":"string","enum":["ubble","checkout","veriff","onfido"],"description":"Vendor `ubble` is deprecated. Only for legacy configuration"},"mode":{"type":"string","enum":["liveness","auto","expert","certified","default"],"description":"Mode `liveness` is specific to `ubble` vendor"},"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"},"redirect_url":{"type":"string"}}},"IdVerificationCheckCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/IdVerificationCheckSettingsCreate"}]}},"required":["individual_id"]},"IdVerificationCheckDataOnfidoVendor":{"type":"object","properties":{"verification_ref":{"type":"string"},"verification_url":{"type":"string","description":"The URL has a 15 min validity"},"verification_status":{"type":"string"},"started_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"ended_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"comment":{"type":"string","nullable":true},"report_file_id":{"type":"string","nullable":true},"name":{"type":"string","enum":["ubble","checkout","veriff","onfido"],"default":"onfido"},"sdk_token":{"type":"string","description":"SDK token for Onfido SDK integration","nullable":true}},"required":["verification_ref","verification_url","verification_status","started_at","ended_at","comment","report_file_id","name","sdk_token"]},"IdVerificationCheckDataVeriffVendor":{"type":"object","properties":{"verification_ref":{"type":"string"},"verification_url":{"type":"string","description":"The URL has a 15 min validity"},"verification_status":{"type":"string"},"started_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"ended_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"comment":{"type":"string","nullable":true},"report_file_id":{"type":"string","nullable":true},"name":{"type":"string","enum":["ubble","checkout","veriff","onfido"],"default":"veriff"}},"required":["verification_ref","verification_url","verification_status","started_at","ended_at","comment","report_file_id","name"]},"IdVerificationCheckDataUbbleVendor":{"type":"object","properties":{"verification_ref":{"type":"string"},"verification_url":{"type":"string","description":"The URL has a 15 min validity"},"verification_status":{"type":"string"},"started_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"ended_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"comment":{"type":"string","nullable":true},"report_file_id":{"type":"string","nullable":true},"name":{"type":"string","enum":["ubble","checkout","veriff","onfido"],"default":"ubble"}},"required":["verification_ref","verification_url","verification_status","started_at","ended_at","comment","report_file_id","name"]},"IdVerificationCheckDataCheckoutVendor":{"type":"object","properties":{"verification_ref":{"type":"string"},"verification_url":{"type":"string","description":"The URL has a 15 min validity"},"verification_status":{"type":"string"},"started_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"ended_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"comment":{"type":"string","nullable":true},"report_file_id":{"type":"string","nullable":true},"name":{"type":"string","enum":["ubble","checkout","veriff","onfido"],"default":"checkout"}},"required":["verification_ref","verification_url","verification_status","started_at","ended_at","comment","report_file_id","name"]},"IdVerificationCheckDataSettings":{"type":"object","properties":{"automatic_approval":{"type":"boolean"},"automatic_rejection":{"type":"boolean"},"vendor":{"type":"string","enum":["ubble","checkout","veriff","onfido"],"default":"checkout"},"mode":{"type":"string","enum":["liveness","auto","expert","certified","default"],"default":"auto"},"redirect_url":{"type":"string"}},"required":["automatic_approval","automatic_rejection","vendor","mode","redirect_url"]},"IdVerificationCheckDataDetailedResultsFace":{"type":"object","properties":{"face_comparison":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"image_integrity":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"visual_authenticity":{"type":"string","enum":["approved","rejected","error"],"nullable":true}},"required":["face_comparison","image_integrity","visual_authenticity"]},"IdVerificationCheckDataDetailedResults":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/DetailedResultsDocument"},"face":{"$ref":"#/components/schemas/IdVerificationCheckDataDetailedResultsFace"}},"required":["document","face"]},"IdVerificationCheckDataInformation":{"type":"object","properties":{"document_type":{"type":"string","enum":["passport","identity_card","driving_license","residence_permit","visa","other"],"nullable":true},"document_number":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"gender":{"type":"string","nullable":true},"nationality":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"birth_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"birth_place":{"type":"string","description":"City name or \"in the air\" or \"at sea\"","nullable":true},"birth_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"expiration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"issuing_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"issuing_country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"},"mrz":{"type":"string","nullable":true},"ip_address":{"type":"string","description":"IP Address of the device used to complete the vendor ID Verification flow","nullable":true},"front_file_id":{"type":"string","nullable":true},"back_file_id":{"type":"string","nullable":true},"signature_file_id":{"type":"string","description":"Signature page file for specific document type such as the French passport","nullable":true},"face_file_id":{"type":"string","nullable":true},"video_file_id":{"type":"string","nullable":true}},"required":["document_type","document_number","first_name","last_name","gender","nationality","birth_date","birth_place","birth_country","expiration_date","issuing_date","issuing_country","mrz","ip_address","front_file_id","back_file_id","signature_file_id","face_file_id","video_file_id"]},"IdVerificationCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"$ref":"#/components/schemas/IdVerificationCheckDataSettings"},"vendor":{"oneOf":[{"$ref":"#/components/schemas/IdVerificationCheckDataOnfidoVendor","title":"Onfido Vendor"},{"$ref":"#/components/schemas/IdVerificationCheckDataVeriffVendor","title":"Veriff Vendor"},{"$ref":"#/components/schemas/IdVerificationCheckDataCheckoutVendor","title":"Checkout Vendor"},{"$ref":"#/components/schemas/IdVerificationCheckDataUbbleVendor","title":"Ubble Vendor","deprecated":true}],"discriminator":{"propertyName":"name"}},"review":{"$ref":"#/components/schemas/Review"},"detailed_results":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/IdVerificationCheckDataDetailedResults"}]},"information":{"$ref":"#/components/schemas/IdVerificationCheckDataInformation"}},"required":["result","settings","vendor","review","detailed_results","information"]},"IdVerificationCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","format":"uuid"},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"id_verification","enum":["id_verification"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `id_verification` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/IdVerificationCheckData"}},"required":["id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"AmlCheckSettingsCreate":{"type":"object","properties":{"fuzziness":{"type":"number","format":"float","minimum":0,"maximum":1,"description":"Level of flexibility of search (`0.00` will check without any fuzziness; `1.00` will look for results with even the slightest match in spelling and phonetics). Only applies to ComplyAdvantage vendor."},"exact_match":{"type":"boolean","description":"Exact match disables all standard and optional matching behaviors (Honorifics, affixes, initials, glued name, name variation, equivalent names, extra words in entity,...) 0% fuzziness disables 1 letter typo matching but keeps all other matching behaviors (standard and optional). Only applies to ComplyAdvantage vendor."},"list_types":{"type":"array","description":"Types of lists to apply for AML screening. Adverse media may triggers many potential matches. Only applies to ComplyAdvantage vendor.","items":{"type":"string","enum":["sanction","warning","fitness_probity","pep","adverse_media"]}},"enable_entity_filter":{"type":"boolean","description":"Restrict hits according to entity type. False for broader search. Only applies to ComplyAdvantage vendor."}}},"AmlCheckCompanyCreate":{"type":"object","properties":{"company_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/AmlCheckSettingsCreate"}]}},"required":["company_id"]},"AmlCheckIndividualCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/AmlCheckSettingsCreate"}]}},"required":["individual_id"]},"AmlCheckDataComplyAdvantageVendor":{"type":"object","properties":{"is_search_monitored":{"type":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"name":{"type":"string","enum":["comply_advantage"]},"search_url":{"type":"string"},"search_id":{"type":"string"},"search_ref":{"type":"string"}},"required":["is_search_monitored","created_at","name","search_url","search_id","search_ref"]},"AmlCheckDataComplyAdvantageMeshVendor":{"type":"object","properties":{"is_search_monitored":{"type":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"name":{"type":"string","enum":["comply_advantage_mesh"]},"customer_id":{"type":"string"}},"required":["is_search_monitored","created_at","name","customer_id"]},"AmlCheckDataWorldCheckVendorResultsCount":{"type":"object","properties":{"watchlist":{"type":"number"},"mediacheck":{"type":"number"}}},"AmlCheckDataWorldCheckVendor":{"type":"object","properties":{"is_search_monitored":{"type":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"name":{"type":"string","enum":["worldcheck"]},"case_url":{"type":"string"},"results_count":{"$ref":"#/components/schemas/AmlCheckDataWorldCheckVendorResultsCount"}},"required":["is_search_monitored","created_at","name","case_url"]},"AmlCheckDataComplyAdvantageSettings":{"type":"object","properties":{"vendor":{"type":"string","enum":["comply_advantage"]},"fuzziness":{"type":"number","format":"float"},"exact_match":{"type":"boolean"},"list_types":{"type":"array","nullable":true,"description":"Types of lists to apply for AML screening.\nCan be null if `profile_id` is configure in your workspace.","items":{"type":"string","enum":["sanction","warning","fitness_probity","pep","adverse_media"]}},"profile_id":{"type":"string","nullable":true,"description":"Search Profile Id to use a specific search profile.\nSearch profile are configured by your Dotfile CSM, contact us if needed.\nThis will override the `list_types`."},"enable_entity_filter":{"type":"boolean"}},"required":["vendor","fuzziness","exact_match","list_types","profile_id","enable_entity_filter"]},"AmlCheckDataWorldcheckSettings":{"type":"object","properties":{"vendor":{"type":"string","enum":["worldcheck"]},"is_media_check_enabled":{"type":"boolean","description":"Whether MediaCheck (adverse media screening) was enabled for this check."}},"required":["vendor","is_media_check_enabled"]},"AmlCheckDataComplyAdvantageMeshSettings":{"type":"object","properties":{"vendor":{"type":"string","enum":["comply_advantage_mesh"]}},"required":["vendor"]},"AmlCheckHitComplyAdvantageVendor":{"type":"object","properties":{"hit_id":{"type":"string"},"updated_by_monitoring_status":{"type":"string","nullable":true,"enum":["new","updated","removed"]},"updated_by_monitoring_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"name":{"type":"string","enum":["comply_advantage"]}},"required":["hit_id","updated_by_monitoring_status","updated_by_monitoring_at","name"]},"AmlCheckHitComplyAdvantageMeshVendor":{"type":"object","properties":{"hit_id":{"type":"string"},"updated_by_monitoring_status":{"type":"string","nullable":true,"enum":["new","updated","removed"]},"updated_by_monitoring_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"name":{"type":"string","enum":["comply_advantage_mesh"]},"risk_id":{"type":"string"}},"required":["hit_id","updated_by_monitoring_status","updated_by_monitoring_at","name","risk_id"]},"AmlCheckHitWorldcheckVendor":{"type":"object","properties":{"hit_id":{"type":"string"},"updated_by_monitoring_status":{"type":"string","nullable":true,"enum":["new","updated","removed"]},"updated_by_monitoring_at":{"type":"string","format":"date-time","nullable":true,"description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"name":{"type":"string","enum":["worldcheck"]}},"required":["hit_id","updated_by_monitoring_status","updated_by_monitoring_at","name"]},"AmlHit":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"list_types":{"type":"array","items":{"type":"string","enum":["sanction","warning","fitness_probity","pep","adverse_media","law_enforcement","special_interest_categories","regulatory_enforcement","other_bodies"]}},"status":{"type":"string","enum":["no_match","potential_match","false_positive","true_positive"]},"review":{"$ref":"#/components/schemas/Review"},"vendor":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckHitComplyAdvantageVendor","title":"ComplyAdvantage Vendor"},{"$ref":"#/components/schemas/AmlCheckHitComplyAdvantageMeshVendor","title":"ComplyAdvantage Mesh Vendor"},{"$ref":"#/components/schemas/AmlCheckHitWorldcheckVendor","title":"WorldCheck Vendor"}],"discriminator":{"propertyName":"name","mapping":{"comply_advantage":"#/components/schemas/AmlCheckHitComplyAdvantageVendor","comply_advantage_mesh":"#/components/schemas/AmlCheckHitComplyAdvantageMeshVendor","worldcheck":"#/components/schemas/AmlCheckHitWorldcheckVendor"}}}},"required":["id","name","list_types","status","review","vendor"]},"AmlCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckDataComplyAdvantageSettings","title":"ComplyAdvantage Settings"},{"$ref":"#/components/schemas/AmlCheckDataComplyAdvantageMeshSettings","title":"ComplyAdvantage Mesh Settings"},{"$ref":"#/components/schemas/AmlCheckDataWorldcheckSettings","title":"WorldCheck Settings"}],"discriminator":{"propertyName":"vendor","mapping":{"comply_advantage":"#/components/schemas/AmlCheckDataComplyAdvantageSettings","comply_advantage_mesh":"#/components/schemas/AmlCheckDataComplyAdvantageMeshSettings","worldcheck":"#/components/schemas/AmlCheckDataWorldcheckSettings"}}},"vendor":{"oneOf":[{"$ref":"#/components/schemas/AmlCheckDataComplyAdvantageVendor","title":"ComplyAdvantage Vendor"},{"$ref":"#/components/schemas/AmlCheckDataComplyAdvantageMeshVendor","title":"ComplyAdvantage Mesh Vendor"},{"$ref":"#/components/schemas/AmlCheckDataWorldCheckVendor","title":"WorldCheck Vendor"}],"discriminator":{"propertyName":"name","mapping":{"comply_advantage":"#/components/schemas/AmlCheckDataComplyAdvantageVendor","comply_advantage_mesh":"#/components/schemas/AmlCheckDataComplyAdvantageMeshVendor","worldcheck":"#/components/schemas/AmlCheckDataWorldCheckVendor"}}},"review":{"$ref":"#/components/schemas/Review"},"match_status":{"type":"string","enum":["no_match","potential_match","false_positive","true_positive"]},"hits_list_types":{"type":"array","description":"`sanction` `warning` `fitness_probity` `pep` `adverse_media` `law_enforcement` `special_interest_categories` `regulatory_enforcement` `other_bodies`","items":{"type":"string","enum":["sanction","warning","fitness_probity","pep","adverse_media","law_enforcement","special_interest_categories","regulatory_enforcement","other_bodies"]}},"hits":{"type":"array","items":{"$ref":"#/components/schemas/AmlHit"}}},"required":["result","settings","vendor","review","match_status","hits_list_types","hits"]},"AmlCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid","nullable":true},"individual_id":{"type":"string","format":"uuid","nullable":true},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"aml","enum":["aml"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `aml` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/AmlCheckData"}},"required":["id","company_id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"ReviewAmlHitsInput":{"type":"object","properties":{"action":{"type":"string","enum":["confirm","ignore"]},"comment":{"type":"string","description":"Optional comment for the review."},"hit_ids":{"description":"Array of the ids of the AML hits to review. Maximum of 100 hits per batch.","type":"array","items":{"type":"string"}}},"required":["action","hit_ids"]},"AmlCheckUpdateMonitoring":{"type":"object","properties":{"is_monitored":{"type":"boolean","description":"Enable or disable monitoring"}},"required":["is_monitored"]},"registration_certificate":{"type":"object","properties":{"model":{"type":"string","enum":["registration_certificate"]},"authorized_documents":{"type":"array","description":"`kbis` `sirene_extract` `pappers_extract` `inscription_rne` `infonet_extract` `repertoire_metiers_extract` `handelsregister` `visura_camerale` `other`","nullable":true,"items":{"type":"string","enum":["kbis","sirene_extract","pappers_extract","inscription_rne","infonet_extract","repertoire_metiers_extract","handelsregister","visura_camerale","other"]}},"max_age_in_days":{"type":"number","format":"integer","nullable":true}},"required":["model"]},"iban":{"type":"object","properties":{"model":{"type":"string","enum":["iban"]},"iban_matching":{"type":"boolean","description":"Verify if iban extracted on the document match entity `banking_information.iban`. Default: `false`"},"bic_matching":{"type":"boolean","description":"Verify if bic extracted on the document match entity `banking_information.bic`. Default: `false`"}},"required":["model"]},"proof_of_address":{"type":"object","properties":{"model":{"type":"string","enum":["proof_of_address"]},"authorized_documents":{"type":"array","description":"`energy_bill` `telco_bill` `official_document` `other`","nullable":true,"items":{"type":"string","enum":["energy_bill","telco_bill","official_document","other"]}},"max_age_in_days":{"type":"number","format":"integer","nullable":true}},"required":["model"]},"prompt":{"type":"object","properties":{"model":{"type":"string","enum":["prompt"]},"prompt":{"type":"string","description":"Prompt used for document analysis"}},"required":["model","prompt"]},"DocumentCheckDataSettingsDocumentAnalysis":{"type":"object","properties":{"automatic_rejection":{"type":"boolean"},"automatic_approval":{"type":"boolean"},"parameters":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/registration_certificate","title":"Registration Certificate"},{"$ref":"#/components/schemas/iban","title":"IBAN"},{"$ref":"#/components/schemas/proof_of_address","title":"Proof of Address"},{"$ref":"#/components/schemas/prompt","title":"Prompt"}],"discriminator":{"propertyName":"model"}}},"required":["automatic_rejection","automatic_approval","parameters"]},"DocumentCheckDataSettingsFraudAnalysis":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable or disable fraud analysis for this document","default":false}},"required":["enabled"]},"DocumentCheckSettingsCreate":{"type":"object","properties":{"document_type_key":{"type":"string","description":"Use your custom document type key or default document type. i.e. `kbis_document_type` or `registration_certificate` "},"document_analysis":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DocumentCheckDataSettingsDocumentAnalysis"}]},"fraud_analysis":{"description":"Fraud analysis settings. Document fraud analysis is billed on usage. Ask your customer support representative or sales representative if you want more details on the pricing.","nullable":true,"allOf":[{"$ref":"#/components/schemas/DocumentCheckDataSettingsFraudAnalysis"}]}},"required":["document_type_key"]},"DocumentCheckDataFileCreate":{"type":"object","properties":{"upload_ref":{"type":"string"}},"required":["upload_ref"]},"DocumentCheckDataCreate":{"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/DocumentCheckDataFileCreate"}}},"required":["files"]},"DocumentCheckCompanyCreate":{"type":"object","properties":{"company_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/DocumentCheckSettingsCreate"}]},"data":{"$ref":"#/components/schemas/DocumentCheckDataCreate"}},"required":["company_id","settings"]},"DocumentCheckIndividualCreate":{"type":"object","properties":{"individual_id":{"type":"string","format":"uuid"},"settings":{"description":"Settings are optional and if not set it will use your workspace default settings","allOf":[{"$ref":"#/components/schemas/DocumentCheckSettingsCreate"}]},"data":{"$ref":"#/components/schemas/DocumentCheckDataCreate"}},"required":["individual_id","settings"]},"CustomDocumentType":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string","description":"Unique identifier key.  \nFormat `/^[a-z][a-z_0-9]*$/`  \nMust be unique","pattern":"/^[a-z][a-z_0-9]*$/","example":"some_key"},"target_entities":{"type":"array","items":{"type":"string","enum":["company","individual"]}},"is_internal":{"type":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)","nullable":true}},"required":["id","label","key","target_entities","is_internal","created_at","updated_at","archived_at"]},"DocumentDataSettings":{"type":"object","properties":{"document_type":{"description":"Document type of this check","allOf":[{"$ref":"#/components/schemas/CustomDocumentType"}]},"document_type_key":{"type":"string","description":"Key of the document type of this check"},"document_analysis":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DocumentCheckDataSettingsDocumentAnalysis"}]}},"required":["document_type","document_type_key","document_analysis"]},"DocumentAnalysisDetailedResult":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"expected":{"type":"string","nullable":true},"received":{"type":"string","nullable":true}},"required":["result","expected","received"]},"DocumentAnalysisRegistrationCertificateDetailedResults":{"type":"object","properties":{"valid_age_in_days":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"address_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"registration_number_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"name_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"valid_document_type":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"}},"required":["valid_age_in_days","address_matching","registration_number_matching","name_matching","valid_document_type"]},"DocumentAnalysisIBANDetailedResults":{"type":"object","properties":{"valid_iban":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"valid_bic":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"name_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"iban_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"bic_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"}},"required":["valid_iban","valid_bic","name_matching","iban_matching","bic_matching"]},"DocumentAnalysisProofOfAddressDetailedResults":{"type":"object","properties":{"valid_age_in_days":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"address_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"name_matching":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"},"valid_document_type":{"$ref":"#/components/schemas/DocumentAnalysisDetailedResult"}},"required":["valid_age_in_days","address_matching","name_matching","valid_document_type"]},"DocumentAnalysisPromptDetailedResults":{"type":"object","properties":{}},"DocumentCheckDataDetailedResults":{"type":"object","properties":{"document_analysis":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/DocumentAnalysisRegistrationCertificateDetailedResults","title":"Registration Certificate"},{"$ref":"#/components/schemas/DocumentAnalysisIBANDetailedResults","title":"IBAN"},{"$ref":"#/components/schemas/DocumentAnalysisProofOfAddressDetailedResults","title":"Proof of Address"},{"$ref":"#/components/schemas/DocumentAnalysisPromptDetailedResults","title":"Prompt"}],"discriminator":{"propertyName":"model"}}},"required":["document_analysis"]},"DocumentAnalysisRegistrationCertificateInformation":{"type":"object","properties":{"name":{"type":"string","nullable":true},"registration_number":{"type":"string","nullable":true},"registration_city":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"issuing_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"document_type":{"type":"string","nullable":true,"enum":["kbis","sirene_extract","pappers_extract","inscription_rne","infonet_extract","repertoire_metiers_extract","handelsregister","visura_camerale","other"]},"other_document_type":{"type":"string","nullable":true,"description":"Document type found for \"other\" category."}},"required":["name","registration_number","registration_city","address","country","issuing_date","document_type","other_document_type"]},"DocumentAnalysisIBANInformation":{"type":"object","properties":{"holder_name":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true}},"required":["holder_name","bank_name","iban","bic"]},"DocumentAnalysisProofOfAddressInformation":{"type":"object","properties":{"issuing_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"address":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"document_type":{"type":"string","nullable":true,"enum":["energy_bill","telco_bill","official_document","other"]},"other_document_type":{"type":"string","nullable":true,"description":"Document type found for \"other\" category."},"country":{"type":"string","nullable":true},"issuer":{"type":"string","nullable":true,"description":"Issuer of the document"}},"required":["issuing_date","address","name","document_type","other_document_type","country","issuer"]},"DocumentAnalysisPromptInformation":{"type":"object","properties":{}},"DocumentCheckDataInformation":{"type":"object","properties":{"expiration_date":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"},"document_analysis":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/DocumentAnalysisRegistrationCertificateInformation","title":"Registration Certificate"},{"$ref":"#/components/schemas/DocumentAnalysisIBANInformation","title":"IBAN"},{"$ref":"#/components/schemas/DocumentAnalysisProofOfAddressInformation","title":"Proof of Address"},{"$ref":"#/components/schemas/DocumentAnalysisPromptInformation","title":"Prompt"}],"discriminator":{"propertyName":"model"}}},"required":["expiration_date","document_analysis"]},"DocumentCheckData":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"settings":{"$ref":"#/components/schemas/DocumentDataSettings"},"review":{"$ref":"#/components/schemas/Review"},"detailed_results":{"deprecated":true,"allOf":[{"$ref":"#/components/schemas/DocumentCheckDataDetailedResults"}]},"document_file_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"information":{"$ref":"#/components/schemas/DocumentCheckDataInformation"}},"required":["result","settings","review","detailed_results","document_file_ids","information"]},"DocumentCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid","nullable":true},"individual_id":{"type":"string","format":"uuid","nullable":true},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"document","enum":["document"]},"subtype":{"type":"string","nullable":false,"description":"Contains `\"document_type:{settings.document_type_key}\"`"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/DocumentCheckData"}},"required":["id","company_id","individual_id","is_internal","status","type","subtype","last_activity_at","data"]},"DocumentCheckAddFilesSettings":{"type":"object","properties":{"document_analysis":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DocumentCheckDataSettingsDocumentAnalysis"}]}},"required":["document_analysis"]},"DocumentCheckAddFiles":{"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/DocumentCheckDataFileCreate"}},"settings":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DocumentCheckAddFilesSettings"}]}},"required":["files"]},"DocumentTypeList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CustomDocumentType"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"OnlineReputationCheckCreate":{"type":"object","properties":{"company_id":{"type":"string","format":"uuid"}},"required":["company_id"]},"OnlineReputationSourceDTO":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"}},"required":["title","url"]},"OnlineReputationCheckDataCompanyDTO":{"type":"object","properties":{"name":{"type":"string"},"commercial_name":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"registration_number":{"type":"string","nullable":true},"website_url":{"type":"string","nullable":true}},"required":["name","commercial_name","country","registration_number","website_url"]},"OnlineReputationCheckDataInformationDTO":{"type":"object","properties":{"report":{"type":"string","nullable":true},"sources":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/OnlineReputationSourceDTO"}},"summary":{"type":"string","nullable":true},"company":{"$ref":"#/components/schemas/OnlineReputationCheckDataCompanyDTO"}},"required":["report","sources","summary","company"]},"OnlineReputationCheckDataDTO":{"type":"object","properties":{"result":{"type":"string","enum":["approved","rejected","error"],"nullable":true},"review":{"$ref":"#/components/schemas/Review"},"information":{"$ref":"#/components/schemas/OnlineReputationCheckDataInformationDTO"}},"required":["result","review","information"]},"OnlineReputationCheck":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"},"is_internal":{"type":"boolean"},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","default":"online_reputation","enum":["online_reputation"]},"subtype":{"type":"string","nullable":true,"description":"Currently always null for `online_reputation` Check"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"data":{"$ref":"#/components/schemas/OnlineReputationCheckDataDTO"}},"required":["id","company_id","is_internal","status","type","subtype","last_activity_at","data"]},"NoteCreate":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid","description":"Case id where the note is created"},"content":{"type":"string","description":"\n  You can format with a subset of html:\n  - Allowed tags are `p`, `b`, `i`, `em`, `strong`, `a` with attributes `href`, `target` and `rel`, `li`, `ul`, `span` with attributes `data-type`, `data-id` and `data-label`, `br` and `hr`.\n  - Invalid tag or attribute will be stripped out.\n  - URL will be transformed into link. `target` and `rel` will be automatically set.\n  - Line break `\\n` will be replaced by `<br />`.\n  - A `<p>` will be added if the content doesn't start with a `<p>` or a `<ul>` tag\n  - You can mention an user with `<span data-type=\"mention\" data-id=\"user:d86b5c10-db43-4021-86b2-6c27df7819b0\"></span>`. `data-label` and inner text will be automatically set and the user will receive a notification.\n  - Ignoring html tag, the content must be at most `3000`\n  "}},"required":["case_id","content"]},"NoteCommentCreate":{"type":"object","properties":{"content":{"type":"string","description":"\n  You can format with a subset of html:\n  - Allowed tags are `p`, `b`, `i`, `em`, `strong`, `a` with attributes `href`, `target` and `rel`, `li`, `ul`, `span` with attributes `data-type`, `data-id` and `data-label`, `br` and `hr`.\n  - Invalid tag or attribute will be stripped out.\n  - URL will be transformed into link. `target` and `rel` will be automatically set.\n  - Line break `\\n` will be replaced by `<br />`.\n  - A `<p>` will be added if the content doesn't start with a `<p>` or a `<ul>` tag\n  - You can mention an user with `<span data-type=\"mention\" data-id=\"user:d86b5c10-db43-4021-86b2-6c27df7819b0\"></span>`. `data-label` and inner text will be automatically set and the user will receive a notification.\n  - Ignoring html tag, the content must be at most `3000`\n  "}},"required":["content"]},"ActivityCaseContext":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","approved","rejected","closed"]}},"required":["status"]},"ActivityCaseReviewContext":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["approved","rejected","closed"]},"comment":{"type":"string","nullable":true},"next_review_at":{"type":"string","format":"date","nullable":true,"description":"Date in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)(`yyyy-MM-dd` eg `2023-01-31`)"}},"required":["id","status","comment","next_review_at"]},"ActivityRiskContext":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"level":{"type":"string","enum":["not_defined","low","medium","high","critical","prohibited"]},"mode":{"type":"string","enum":["automatic","manual"]},"comment":{"type":"string","nullable":true}},"required":["id","level","mode","comment"]},"ActivityTemplateContext":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"key":{"type":"string"}},"required":["id","name","key"]},"ActivityCaseRelationContext":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"from_company_id":{"type":"string","nullable":true,"format":"uuid"},"from_individual_id":{"type":"string","nullable":true,"format":"uuid"},"to_company_id":{"type":"string","format":"uuid"}},"required":["id","from_company_id","from_individual_id","to_company_id"]},"ActivityCheckContext":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["id_verification","id_document","aml","company_monitoring","document","ekyc","electronic_signature","fraud_database","online_reputation"]},"subtype":{"type":"string","nullable":true,"description":"Contains the `subtype` for some check `type`:  \n- `document`: Currently contains `\"document_type:{document_type_key}\"`  \n- `electronic_signature`: Contains `\"document_template:{document_template_key}\"`  \n- For all other check type, always contains `null`"}},"required":["id","type","subtype"]},"ActivityClientPortalContext":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"ActivityAiAgentContext":{"type":"object","properties":{"execution_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["review_aml_check","review_document_check","review_id_document_check","review_id_verification_check"]}},"required":["execution_id","type"]},"ActivityContext":{"type":"object","properties":{"case":{"$ref":"#/components/schemas/ActivityCaseContext"},"case_review":{"$ref":"#/components/schemas/ActivityCaseReviewContext"},"risk":{"$ref":"#/components/schemas/ActivityRiskContext"},"template":{"$ref":"#/components/schemas/ActivityTemplateContext"},"case_relation":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ActivityCaseRelationContext"}]},"check":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ActivityCheckContext"}]},"aml_hit_ids":{"type":"string"},"vendor":{"type":"string","enum":["pappers","kompany","creditsafe","kyckr","companies_house","inpi","info_camere","transparenzregister","topograph","charity_commission"]},"client_portal":{"$ref":"#/components/schemas/ActivityClientPortalContext"},"ai_agent":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ActivityAiAgentContext"}]}}},"ActivityChange":{"type":"object","properties":{"name":{"type":"string"},"previous":{"nullable":true,"oneOf":[{"type":"string","title":"string"},{"type":"boolean","title":"boolean"},{"type":"number","title":"number"}]},"next":{"nullable":true,"oneOf":[{"type":"string","title":"string"},{"type":"boolean","title":"boolean"},{"type":"number","title":"number"}]}},"required":["name","previous","next"]},"Activity":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","format":"uuid","nullable":true},"company_id":{"type":"string","format":"uuid","nullable":true},"type":{"type":"string","enum":["api__created__case","contact__created__case","user__created__case","api__updated_info__case","contact__updated_info__case","user__updated_info__case","api__updated_status__case","user__updated_status__case","system__updated_status__case","api__updated_template__case","user__updated_template__case","system__updated_template__case","workflow__updated_template__case","api__updated_assignee__case","user__updated_assignee__case","system__updated_assignee__case","user__transferred_from_workspace__case","api__updated_metadata__case","contact__updated_metadata__case","user__updated_metadata__case","api__updated_risk__case","user__updated_risk__case","workflow__updated_risk__case","system__updated_risk__case","system__updated_review__case","user__updated_review__case","api__confirmed_review__case","system__confirmed_review__case","user__confirmed_review__case","api__deleted__case","user__deleted__case","api__added_tags__case","user__added_tags__case","system__added_tags__case","workflow__added_tags__case","api__removed_tags__case","user__removed_tags__case","system__added__case_control","system__removed__case_control","template__added__case_control","template__removed__case_control","api__updated__case_relation","contact__updated__case_relation","user__updated__case_relation","user__sent__communication","system__sent__communication","system__received__communication","api__created__individual","contact__created__individual","user__created__individual","api__updated__individual","contact__updated__individual","user__updated__individual","api__marked_as_relevant__individual","user__marked_as_relevant__individual","api__marked_as_not_relevant__individual","contact__marked_as_not_relevant__individual","user__marked_as_not_relevant__individual","contact__sent_collaboration_email__individual","api__deleted__individual","user__deleted__individual","api__created__company","contact__created__company","user__created__company","api__updated__company","contact__updated__company","user__updated__company","api__marked_as_relevant__company","user__marked_as_relevant__company","api__marked_as_not_relevant__company","contact__marked_as_not_relevant__company","user__marked_as_not_relevant__company","api__deleted__company","user__deleted__company","user__purchased__company_data","api__started__check","contact__started__check","user__started__check","system__started__check","system__rolled_back__check","template__started__check","workflow__started__check","api__set_review_needed__check","contact__set_review_needed__check","system__set_review_needed__check","api__approved__check","user__approved__check","system__approved__check","api__rejected__check","user__rejected__check","system__rejected__check","api__enabled_monitoring__check","user__enabled_monitoring__check","api__disabled_monitoring__check","user__disabled_monitoring__check","system__disabled_monitoring__check","system__expired__check","end_user__started_flow__check","end_user__finished_flow__check","user__deleted__check","api__deleted__check","api__ignored__aml_hit","user__ignored__aml_hit","api__confirmed__aml_hit","user__confirmed__aml_hit","user__acknowledged__company_monitoring_alert","user__run__template","api__run__template","system__run__template","contact__completed_forms__client_portal","contact__completed_checks__client_portal","user__mark_as_completed__case_control","system__mark_as_completed__case_control","user__mark_as_uncompleted__case_control","system__mark_as_uncompleted__case_control"]},"author_type":{"type":"string","enum":["api","user","system","template","contact","workflow"]},"author_id":{"type":"string","format":"uuid","description":"Depending on author_type, could be either a user_id (user), an api_key_id (api), template_id (system) or individual_id (contact)","nullable":true},"user":{"nullable":true,"description":"Defined if author_type is user, otherwise null","allOf":[{"$ref":"#/components/schemas/NestedUser"}]},"context":{"$ref":"#/components/schemas/ActivityContext"},"changes":{"nullable":true,"description":"EXPERIMENTAL: this data structure will evolve in the future","type":"array","items":{"$ref":"#/components/schemas/ActivityChange"}},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","case_id","individual_id","company_id","type","author_type","author_id","user","context","changes","created_at"]},"ActivityList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Activity"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"CaseTagsCreate":{"type":"object","properties":{"tags":{"nullable":false,"description":"Tags for this case. Either tag `id`, or tag `label`. Tag labels are case insensitive","example":["High risk","8468f8e0-1067-4099-b8c3-824ae8b7204e"],"type":"array","items":{"type":"string"}}},"required":["tags"]},"Tag":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"uuid"},"label":{"type":"string","nullable":false,"example":"High risk"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","label","created_at"]},"TagList":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},"required":["tags"]},"TagPaginatedList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"TagCreate":{"type":"object","properties":{"label":{"type":"string","description":"- label must not contain one of the following characters: `, ; : | / \\`\n - Tag label must be unique\n - Maximum of 100 characters","maxLength":100,"minLength":1}},"required":["label"]},"TagUpdate":{"type":"object","properties":{"label":{"type":"string","description":"- label must not contain one of the following characters: `, ; : | / \\`\n - Tag label must be unique\n - Maximum of 100 characters","maxLength":100,"minLength":1}},"required":["label"]},"UploadedFile":{"type":"object","properties":{"upload_ref":{"type":"string"},"expired_at":{"type":"string","format":"date-time","description":"Upload ref will expire after this date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["upload_ref","expired_at"]},"Template":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"key":{"type":"string"},"description":{"type":"string","nullable":true},"case_auto_approval":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["id","name","key","description","case_auto_approval","created_at","updated_at"]},"TemplateList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Template"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"RunTemplate":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid","description":"Case id where to run the template"},"template_key":{"type":"string","description":"Optional template key to change the case template"},"template_id":{"type":"string","format":"uuid","description":"Prefer using `template_key` instead.  \nOptional template id to change the case template. Cannot be set at the same time as `template_key`.","deprecated":true}},"required":["case_id"]},"TemplateExecution":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid"},"company_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"individual_ids":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["case_id","company_ids","individual_ids"]},"ClientPortalShareLink":{"type":"object","properties":{"client_portal_id":{"type":"string","format":"uuid"},"business_contact_id":{"type":"string","format":"uuid","description":"The business contact needs to exists in the case.\n\nIf the individual is not yet business contact, it will be updated to be marked as such.\n\nIf not specified, the case must have a business contact already and it will be used."}},"required":["client_portal_id"]},"ClientPortalShareLinkResponseBusinessContact":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string","nullable":false,"format":"email"}},"required":["id","first_name","last_name","email"]},"ClientPortalShareLinkResponse":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid"},"client_portal_id":{"type":"string","format":"uuid"},"business_contact":{"$ref":"#/components/schemas/ClientPortalShareLinkResponseBusinessContact"},"link":{"type":"string","format":"url","description":"URL to the client portal authenticated for the business contact"},"expires_at":{"type":"string","format":"date-time","description":"Date time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["case_id","client_portal_id","business_contact","link","expires_at"]},"CompleteClientPortalWaitStepInput":{"type":"object","properties":{"client_portal_id":{"type":"string","format":"uuid","description":"Optional client portal id to only complete its own wait step. If not specified, all the wait steps of all client portals will be completed."},"wait_step_key":{"type":"string","description":"Optional wait step key to only complete this specific step. If not specified, all the pending wait steps will be completed."}}},"CompleteClientPortalWaitStepResponse":{"type":"object","properties":{"completed_wait_step_keys":{"description":"List of wait step keys that were completed","type":"array","items":{"type":"string"}}},"required":["completed_wait_step_keys"]},"ClientPortal":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["offline","online"]},"default_language":{"type":"string","enum":["en","fr","it","de","es","nl","pt","pl","hu"]},"url":{"type":"string"},"updated_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","status","default_language","url","updated_at","created_at"]},"ClientPortalList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ClientPortal"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"Table":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"uuid"},"name":{"type":"string","nullable":false,"example":"Countries risk"},"description":{"type":"object","nullable":true,"example":"Anti-money laundering and countering the financing of terrorism at international level"},"key":{"type":"string","nullable":false,"example":"countries_risk"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","description","key","created_at","updated_at"]},"TableList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Table"}}},"required":["data"]},"TableDetailed":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"uuid"},"name":{"type":"string","nullable":false,"example":"Countries risk"},"description":{"type":"object","nullable":true,"example":"Anti-money laundering and countering the financing of terrorism at international level"},"key":{"type":"string","nullable":false,"example":"countries_risk"},"entries":{"nullable":false,"example":[{"country":"FR","risk":"low"},{"country":"QA","risk":"medium"},{"country":"RU","risk":"high"}],"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","description","key","entries","created_at","updated_at"]},"CustomPropertyNumericSettings":{"type":"object","properties":{"format":{"type":"string","enum":["number","percent","currency"]},"min":{"type":"number","nullable":true,"example":0,"format":"float"},"max":{"type":"number","nullable":true,"example":100,"format":"float"},"currency_code":{"type":"string","description":"Only when format=currency.\nCurrency code in format ISO 4217.\n see https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes","nullable":true,"example":"EUR"}},"required":["format","min","max","currency_code"]},"CustomPropertyNumeric":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["numeric"]},"settings":{"$ref":"#/components/schemas/CustomPropertyNumericSettings"}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type","settings"]},"CustomPropertyChoicesSettings":{"type":"object","properties":{"allow_multiple":{"type":"boolean"}},"required":["allow_multiple"]},"CustomPropertyChoices":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["choices"]},"settings":{"$ref":"#/components/schemas/CustomPropertyChoicesSettings"}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type","settings"]},"CustomPropertyOption":{"type":"object","properties":{"label":{"type":"string"},"key":{"type":"string"}},"required":["label","key"]},"CustomPropertyChoicesWithOptions":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["choices"]},"settings":{"$ref":"#/components/schemas/CustomPropertyChoicesSettings"},"options":{"type":"array","items":{"$ref":"#/components/schemas/CustomPropertyOption"}}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type","settings","options"]},"CustomPropertyCountriesSettings":{"type":"object","properties":{"allow_multiple":{"type":"boolean"}},"required":["allow_multiple"]},"CustomPropertyCountries":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["countries"]},"settings":{"$ref":"#/components/schemas/CustomPropertyCountriesSettings"}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type","settings"]},"CustomPropertyTextSettings":{"type":"object","properties":{"is_multi_line":{"type":"boolean"}},"required":["is_multi_line"]},"CustomPropertyText":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["text"]},"settings":{"$ref":"#/components/schemas/CustomPropertyTextSettings"}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type","settings"]},"CustomPropertyDate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["date"]}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type"]},"CustomPropertyBoolean":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["boolean"]}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type"]},"CustomPropertyEmail":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["email"]}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type"]},"CustomPropertyPhoneNumber":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["phone_number"]}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type"]},"CustomPropertyUrl":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"type":{"type":"string","enum":["url"]}},"required":["id","label","key","target_entity","created_at","updated_at","archived_at","type"]},"AbstractCustomProperty":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"key":{"type":"string"},"target_entity":{"type":"string","enum":["case","company","individual"]},"type":{"type":"string","enum":["boolean","choices","countries","date","email","numeric","phone_number","text","url"]},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"archived_at":{"type":"string","format":"date-time","nullable":true,"description":"Archival date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","label","key","target_entity","type","created_at","updated_at","archived_at"]},"CustomPropertyList":{"type":"object","properties":{"data":{"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/CustomPropertyBoolean","choices":"#/components/schemas/CustomPropertyChoices","countries":"#/components/schemas/CustomPropertyCountries","date":"#/components/schemas/CustomPropertyDate","email":"#/components/schemas/CustomPropertyEmail","numeric":"#/components/schemas/CustomPropertyNumeric","phone_number":"#/components/schemas/CustomPropertyPhoneNumber","text":"#/components/schemas/CustomPropertyText","url":"#/components/schemas/CustomPropertyUrl"}},"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/CustomPropertyBoolean","title":"Boolean"},{"$ref":"#/components/schemas/CustomPropertyChoices","title":"Choices"},{"$ref":"#/components/schemas/CustomPropertyCountries","title":"Countries"},{"$ref":"#/components/schemas/CustomPropertyDate","title":"Date"},{"$ref":"#/components/schemas/CustomPropertyEmail","title":"Email"},{"$ref":"#/components/schemas/CustomPropertyNumeric","title":"Numeric"},{"$ref":"#/components/schemas/CustomPropertyPhoneNumber","title":"Phone number"},{"$ref":"#/components/schemas/CustomPropertyText","title":"Text"},{"$ref":"#/components/schemas/CustomPropertyUrl","title":"URL"}]}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"User":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string","format":"email"},"role":{"type":"string","description":"`owner` `admin` `member` `Custom Role name`"},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"suspended_at":{"type":"string","format":"date-time","description":"Suspension date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","first_name","last_name","email","role","created_at","suspended_at"]},"PaginatedUserList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"WebhookContextWorkspace":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"CaseWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","workspace"]},"CaseWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Case.ClientPortalWaitStepTriggered","Case.Created","Case.ReviewConfirmed","Case.ReviewDue","Case.ReviewUpdated","Case.Updated"],"description":"`Case.ClientPortalWaitStepTriggered`,`Case.Created`,`Case.ReviewConfirmed`,`Case.ReviewDue`,`Case.ReviewUpdated`,`Case.Updated`"},"sub_event":{"type":"string","enum":["Case.AssigneeUpdated","Case.ContactHasActionsUpdated","Case.FlagsUpdated","Case.InfoUpdated","Case.MetadataUpdated","Case.ReviewerHasActionsUpdated","Case.RiskUpdated","Case.StatusUpdated","Case.TagsUpdated","Case.TemplateUpdated"],"description":"The `sub_event` depends on the event:\n\n`Case.Updated`\n   - `Case.AssigneeUpdated`\n   - `Case.ContactHasActionsUpdated`\n   - `Case.FlagsUpdated`\n   - `Case.InfoUpdated`\n   - `Case.MetadataUpdated`\n   - `Case.ReviewerHasActionsUpdated`\n   - `Case.RiskUpdated`\n   - `Case.StatusUpdated`\n   - `Case.TagsUpdated`\n   - `Case.TemplateUpdated`\n"},"context":{"$ref":"#/components/schemas/CaseWebhookContext"},"case":{"$ref":"#/components/schemas/CaseDetailed"}},"required":["event","context","case"]},"CaseDeletedWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","workspace"]},"CaseDeleted":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"external_id":{"type":"string","nullable":true}},"required":["id","name","external_id"]},"CaseDeletedWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Case.Deleted"],"description":"`Case.Deleted`"},"context":{"$ref":"#/components/schemas/CaseDeletedWebhookContext"},"case":{"$ref":"#/components/schemas/CaseDeleted"}},"required":["event","context","case"]},"NestedClientPortal":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"type":"string","enum":["KYB","KYC"]}},"required":["id","name","type"]},"WebhookContextCase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","open","approved","rejected","closed"]},"external_id":{"type":"string","nullable":true},"contact_has_actions":{"type":"boolean"},"reviewer_has_actions":{"type":"boolean"},"flags":{"type":"array","description":"`all_checks_approved` `for_review` `for_first_collect` `for_recollection` `first_collect_completed`","items":{"type":"string","enum":["all_checks_approved","for_review","for_first_collect","for_recollection","first_collect_completed"]}},"tags":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","nullable":true,"additionalProperties":{"type":"string"},"description":"Object in a format of `key` (string) / `value` (string)"},"last_activity_at":{"type":"string","format":"date-time","description":"Latest activity date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"client_portal":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedClientPortal"}]}},"required":["id","name","status","external_id","contact_has_actions","reviewer_has_actions","flags","tags","metadata","last_activity_at","client_portal"]},"CaseReportWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace"]},"CaseReport":{"type":"object","properties":{"download_url":{"type":"string","description":"Url to download the case report"},"download_url_expire_at":{"type":"string","format":"date-time","description":"Expiration date for the download url  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"generated_at":{"type":"string","format":"date-time","description":"Date of the last activity in this report  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["download_url","download_url_expire_at","generated_at"]},"CaseReportWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["CaseReport.Generated"],"description":"`CaseReport.Generated`"},"context":{"$ref":"#/components/schemas/CaseReportWebhookContext"},"report":{"$ref":"#/components/schemas/CaseReport"}},"required":["event","context","report"]},"IndividualWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace"]},"IndividualWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Individual.Created","Individual.Updated"],"description":"`Individual.Created`,`Individual.Updated`"},"sub_event":{"type":"string","enum":["Individual.InfoUpdated","Individual.MarkedAsNotRelevant","Individual.MarkedAsRelevant"],"description":"The `sub_event` depends on the event:\n\n`Individual.Updated`\n   - `Individual.InfoUpdated`\n   - `Individual.MarkedAsNotRelevant`\n   - `Individual.MarkedAsRelevant`\n"},"context":{"$ref":"#/components/schemas/IndividualWebhookContext"},"individual":{"$ref":"#/components/schemas/Individual"}},"required":["event","context","individual"]},"IndividualDeletedWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace"]},"IndividualDeleted":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"first_name":{"type":"string"},"last_name":{"type":"string"}},"required":["id","case_id","first_name","last_name"]},"IndividualDeletedWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Individual.Deleted"],"description":"`Individual.Deleted`"},"context":{"$ref":"#/components/schemas/IndividualDeletedWebhookContext"},"individual":{"$ref":"#/components/schemas/IndividualDeleted"}},"required":["event","context","individual"]},"CompanyWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace"]},"CompanyWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Company.Created","Company.Updated"],"description":"`Company.Created`,`Company.Updated`"},"sub_event":{"type":"string","enum":["Company.InfoUpdated","Company.MarkedAsNotRelevant","Company.MarkedAsRelevant"],"description":"The `sub_event` depends on the event:\n\n`Company.Updated`\n   - `Company.InfoUpdated`\n   - `Company.MarkedAsNotRelevant`\n   - `Company.MarkedAsRelevant`\n"},"context":{"$ref":"#/components/schemas/CompanyWebhookContext"},"company":{"$ref":"#/components/schemas/Company"}},"required":["event","context","company"]},"CompanyDeletedWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace"]},"CompanyDeleted":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":160},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"}},"required":["id","case_id","name","country"]},"CompanyDeletedWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Company.Deleted"],"description":"`Company.Deleted`"},"context":{"$ref":"#/components/schemas/CompanyDeletedWebhookContext"},"company":{"$ref":"#/components/schemas/CompanyDeleted"}},"required":["event","context","company"]},"NoteWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace"]},"NoteWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Note.Created","Note.Deleted","Note.Updated"],"description":"`Note.Created`,`Note.Deleted`,`Note.Updated`"},"context":{"$ref":"#/components/schemas/NoteWebhookContext"},"note":{"$ref":"#/components/schemas/Note"}},"required":["event","context","note"]},"WebhookContextNote":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"author":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NestedUser"}]}},"required":["id","author"]},"NoteCommentWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"},"note":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/WebhookContextNote"}]}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace","note"]},"NoteCommentWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["NoteComment.Created","NoteComment.Deleted","NoteComment.Updated"],"description":"`NoteComment.Created`,`NoteComment.Deleted`,`NoteComment.Updated`"},"context":{"$ref":"#/components/schemas/NoteCommentWebhookContext"},"noteComment":{"$ref":"#/components/schemas/NoteComment"}},"required":["event","context","noteComment"]},"WebhookContextIndividual":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string"},"last_name":{"type":"string"}},"required":["id","first_name","last_name"]},"WebhookContextCompany":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":160},"country":{"type":"string","format":"alpha-2","minLength":2,"maxLength":2,"nullable":true,"description":"[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code (eg `FR`)"}},"required":["id","name","country"]},"CheckWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"},"individual":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/WebhookContextIndividual"}]},"company":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/WebhookContextCompany"}]}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace","individual","company"]},"AmlCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/AmlCheck"}},"required":["event","context","check"]},"CompanyMonitoringCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/CompanyMonitoringCheck"}},"required":["event","context","check"]},"DocumentCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/DocumentCheck"}},"required":["event","context","check"]},"EkycCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/EkycCheck"}},"required":["event","context","check"]},"ElectronicSignatureCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/ElectronicSignatureCheck"}},"required":["event","context","check"]},"FraudDatabaseCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/FraudDatabaseCheck"}},"required":["event","context","check"]},"IdDocumentCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/IdDocumentCheck"}},"required":["event","context","check"]},"IdVerificationCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/IdVerificationCheck"}},"required":["event","context","check"]},"OnlineReputationCheckWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Started","Check.ReviewNeeded","Check.Approved","Check.Rejected","Check.Expired"],"description":"`Check.Started`,`Check.ReviewNeeded`,`Check.Approved`,`Check.Rejected`,`Check.Expired`"},"context":{"$ref":"#/components/schemas/CheckWebhookContext"},"check":{"$ref":"#/components/schemas/OnlineReputationCheck"}},"required":["event","context","check"]},"DocumentOrderWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"}},"required":["timestamp","event_id","retry_count","remaining_retry_count","workspace"]},"DocumentOrderWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["DocumentOrder.Completed","DocumentOrder.Failed"],"description":"`DocumentOrder.Completed`,`DocumentOrder.Failed`"},"context":{"$ref":"#/components/schemas/DocumentOrderWebhookContext"},"document_order":{"$ref":"#/components/schemas/DocumentOrder"}},"required":["event","context","document_order"]},"CheckDeletedWebhookContext":{"type":"object","properties":{"timestamp":{"type":"number","description":"Webhook timestamp to prevent replay attacks"},"event_id":{"type":"string","description":"UUID of the event. When a webhook is retried the event id is the same as the initial call."},"retry_count":{"type":"number","description":"Webhook retry counter. 0 for the initial call."},"remaining_retry_count":{"type":"number","description":"Webhook automatic remaining retry counter. Max retry count: 4."},"case":{"$ref":"#/components/schemas/WebhookContextCase"},"workspace":{"$ref":"#/components/schemas/WebhookContextWorkspace"},"individual":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/WebhookContextIndividual"}]},"company":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/WebhookContextCompany"}]}},"required":["timestamp","event_id","retry_count","remaining_retry_count","case","workspace","individual","company"]},"CheckDeleted":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"individual_id":{"type":"string","nullable":true},"company_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["in_progress","need_review","processing","approved","rejected","expired"],"description":"ℹ️ Check status `expired` is deprecated and will be removed Q1'25. It will be replaced with an expired flag."},"type":{"type":"string","enum":["id_verification","id_document","aml","company_monitoring","document","ekyc","electronic_signature","fraud_database","online_reputation"]},"subtype":{"type":"string","nullable":true,"description":"Contains the `subtype` for some check `type`:  \n- `document`: Currently contains `\"document_type:{document_type_key}\"`  \n- `electronic_signature`: Contains `\"document_template:{document_template_key}\"`  \n- For all other check type, always contains `null`"},"document_type_key":{"type":"string","description":"Set only for `document` Check with the document type key."}},"required":["id","individual_id","company_id","status","type","subtype"]},"CheckDeletedWebhook":{"type":"object","properties":{"event":{"type":"string","enum":["Check.Deleted"],"description":"`Check.Deleted`"},"context":{"$ref":"#/components/schemas/CheckDeletedWebhookContext"},"check":{"$ref":"#/components/schemas/CheckDeleted"}},"required":["event","context","check"]},"Webhook":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["online","offline"],"default":"online"},"type":{"type":"string","enum":["user","system"],"default":"user","description":"`system` webhooks are hidden from console app."},"events":{"type":"array","items":{"type":"string"}},"url":{"type":"string","format":"url"},"secret":{"type":"string","description":"A secret token used to sign the webhook payload."},"created_at":{"type":"string","format":"date-time","description":"Creation date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"},"updated_at":{"type":"string","format":"date-time","description":"Latest update date  \nDate time in format [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (`yyyy-MM-ddTHH:mm:ss.S+X` eg `2023-01-31T13:30:00.000Z`)"}},"required":["id","name","status","type","events","url","secret","created_at","updated_at"]},"WebhookList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}},"pagination":{"example":{"page":1,"limit":20,"count":42},"allOf":[{"$ref":"#/components/schemas/Pagination"}]}},"required":["data","pagination"]},"WebhookCreate":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string","enum":["online","offline"],"default":"online"},"type":{"type":"string","enum":["user","system"],"default":"user"},"url":{"type":"string","format":"url"},"events":{"type":"array","description":"`Case.AssigneeUpdated`, `Case.ClientPortalWaitStepTriggered`, `Case.ContactHasActionsUpdated`, `Case.Created`, `Case.Deleted`, `Case.FlagsUpdated`, `Case.InfoUpdated`, `Case.MetadataUpdated`, `Case.ReviewConfirmed`, `Case.ReviewDue`, `Case.ReviewUpdated`, `Case.ReviewerHasActionsUpdated`, `Case.RiskUpdated`, `Case.StatusUpdated`, `Case.TagsUpdated`, `Case.TemplateUpdated`, `Case.Updated`, `CaseReport.Generated`, `Check.Approved`, `Check.Deleted`, `Check.Expired`, `Check.Rejected`, `Check.ReviewNeeded`, `Check.Started`, `Company.Created`, `Company.Deleted`, `Company.InfoUpdated`, `Company.MarkedAsNotRelevant`, `Company.MarkedAsRelevant`, `Company.Updated`, `DocumentOrder.Completed`, `DocumentOrder.Failed`, `Individual.Created`, `Individual.Deleted`, `Individual.InfoUpdated`, `Individual.MarkedAsNotRelevant`, `Individual.MarkedAsRelevant`, `Individual.Updated`, `Note.Created`, `Note.Deleted`, `Note.Updated`, `NoteComment.Created`, `NoteComment.Deleted`, `NoteComment.Updated`","items":{"type":"string","enum":["Case.AssigneeUpdated","Case.ClientPortalWaitStepTriggered","Case.ContactHasActionsUpdated","Case.Created","Case.Deleted","Case.FlagsUpdated","Case.InfoUpdated","Case.MetadataUpdated","Case.ReviewConfirmed","Case.ReviewDue","Case.ReviewUpdated","Case.ReviewerHasActionsUpdated","Case.RiskUpdated","Case.StatusUpdated","Case.TagsUpdated","Case.TemplateUpdated","Case.Updated","CaseReport.Generated","Check.Approved","Check.Deleted","Check.Expired","Check.Rejected","Check.ReviewNeeded","Check.Started","Company.Created","Company.Deleted","Company.InfoUpdated","Company.MarkedAsNotRelevant","Company.MarkedAsRelevant","Company.Updated","DocumentOrder.Completed","DocumentOrder.Failed","Individual.Created","Individual.Deleted","Individual.InfoUpdated","Individual.MarkedAsNotRelevant","Individual.MarkedAsRelevant","Individual.Updated","Note.Created","Note.Deleted","Note.Updated","NoteComment.Created","NoteComment.Deleted","NoteComment.Updated"]}},"secret":{"type":"string","description":"A secret token used to sign the webhook payload. Autogenerated if not set."}},"required":["url","events"]},"WebhookUpdate":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string","enum":["online","offline"],"default":"online"},"type":{"type":"string","enum":["user","system"],"default":"user"},"url":{"type":"string","format":"url"},"events":{"type":"array","description":"`Case.AssigneeUpdated`, `Case.ClientPortalWaitStepTriggered`, `Case.ContactHasActionsUpdated`, `Case.Created`, `Case.Deleted`, `Case.FlagsUpdated`, `Case.InfoUpdated`, `Case.MetadataUpdated`, `Case.ReviewConfirmed`, `Case.ReviewDue`, `Case.ReviewUpdated`, `Case.ReviewerHasActionsUpdated`, `Case.RiskUpdated`, `Case.StatusUpdated`, `Case.TagsUpdated`, `Case.TemplateUpdated`, `Case.Updated`, `CaseReport.Generated`, `Check.Approved`, `Check.Deleted`, `Check.Expired`, `Check.Rejected`, `Check.ReviewNeeded`, `Check.Started`, `Company.Created`, `Company.Deleted`, `Company.InfoUpdated`, `Company.MarkedAsNotRelevant`, `Company.MarkedAsRelevant`, `Company.Updated`, `DocumentOrder.Completed`, `DocumentOrder.Failed`, `Individual.Created`, `Individual.Deleted`, `Individual.InfoUpdated`, `Individual.MarkedAsNotRelevant`, `Individual.MarkedAsRelevant`, `Individual.Updated`, `Note.Created`, `Note.Deleted`, `Note.Updated`, `NoteComment.Created`, `NoteComment.Deleted`, `NoteComment.Updated`","items":{"type":"string","enum":["Case.AssigneeUpdated","Case.ClientPortalWaitStepTriggered","Case.ContactHasActionsUpdated","Case.Created","Case.Deleted","Case.FlagsUpdated","Case.InfoUpdated","Case.MetadataUpdated","Case.ReviewConfirmed","Case.ReviewDue","Case.ReviewUpdated","Case.ReviewerHasActionsUpdated","Case.RiskUpdated","Case.StatusUpdated","Case.TagsUpdated","Case.TemplateUpdated","Case.Updated","CaseReport.Generated","Check.Approved","Check.Deleted","Check.Expired","Check.Rejected","Check.ReviewNeeded","Check.Started","Company.Created","Company.Deleted","Company.InfoUpdated","Company.MarkedAsNotRelevant","Company.MarkedAsRelevant","Company.Updated","DocumentOrder.Completed","DocumentOrder.Failed","Individual.Created","Individual.Deleted","Individual.InfoUpdated","Individual.MarkedAsNotRelevant","Individual.MarkedAsRelevant","Individual.Updated","Note.Created","Note.Deleted","Note.Updated","NoteComment.Created","NoteComment.Deleted","NoteComment.Updated"]}},"secret":{"type":"string","description":"A secret token used to sign the webhook payload. Autogenerated if not set."}}}}},"security":[{"DotfileAPIKey":[]}],"x-uploaded-at":"2026-03-31T06:08:28.115Z","x-commit-sha":"79be3b74b97272e1095508577d9098e5c06b0610"}