# Restore a company Required scopes: contact-data:write Endpoint: POST /companies/{id}/restore Version: v1 Security: http, oauth2 ## Path parameters: - `id` (string, required) ## Query parameters: - `find_by` (string) The field to search by Enum: "id", "external_id" - `origin` (string) Used if find_by=external_id by default it will use the integration slug ## Response 200 fields (application/json): - `id` (string, required) - `external_id` (string,null, required) Can be used to add an identifier to the client from an external system, must be unique - `external_origin` (string,null, required) If originated from external system origin is added - `vendor_identifier` (string,null, required) - `company_name` (string,null, required) - `locale` (string,null, required) - `tax_uid` (string,null, required) - `taxation_enabled` (boolean, required) Can be used to indicate reverse charge ie - `iban` (string,null, required) - `bic` (string,null, required) - `email` (string,null, required) - `email_general` (string,null, required) - `phone` (string,null, required) - `fax` (string,null, required) - `homepage` (string,null, required) - `invoices_by_post` (boolean, required) - `invoices_by_email` (boolean, required) - `business_field` (any, required) - `company_size` (any, required) - `company_revenue` (any, required) - `person_attention_to` (string,null, required) - `address_invoice_title` (string,null, required) - `address_invoice_street` (string,null, required) - `address_invoice_house` (string,null, required) - `address_invoice_street2` (string,null, required) - `address_invoice_zip` (string,null, required) - `address_invoice_state` (string,null, required) - `address_invoice_town` (string,null, required) - `address_invoice_country` (any, required) - `address_invoice_is_delivery` (boolean, required) - `delivery_person_attention_to` (string,null, required) - `address_delivery_title` (string,null, required) - `address_delivery_street` (string,null, required) - `address_delivery_house` (string,null, required) - `address_delivery_street2` (string,null, required) - `address_delivery_zip` (string,null, required) - `address_delivery_state` (string,null, required) - `address_delivery_town` (string,null, required) - `address_delivery_country` (any, required) - `client` (any, required) - `tags` (array) - `tags.title` (string, required) - `contacts` (array) - `contacts.gender` (string,null, required) - `contacts.first_name` (string,null, required) - `contacts.last_name` (string,null, required) - `contacts.title_suffix` (string,null, required) - `contacts.position` (string,null, required) - `contacts.birthday` (string,null, required) - `contacts.telephone` (string,null, required) - `contacts.telephone_private` (string,null, required) - `contacts.mobile` (string,null, required) - `contacts.mobile_private` (string,null, required) - `contacts.email_private` (string,null, required) - `contacts.address_street` (string,null, required) - `contacts.address_house` (string,null, required) - `contacts.address_street2` (string,null, required) - `contacts.address_zip` (string,null, required) - `contacts.address_state` (string,null, required) - `contacts.address_town` (string,null, required) - `contacts.address_country` (any, required) - `contacts.owner` (any, required) - `contacts.companies` (array) - `contacts.custom_fields` (object, required) The key is the field name for your custom field, value type depends on the field type - `contacts.created_at` (string, required) - `contacts.updated_at` (string,null, required) - `contacts.deleted_at` (string,null, required) - `contacts.contact_company` (object) Added included via relationship (contact -> companies or company -> contacts) ## Response 401 fields (application/json): - `message` (string, required) Error overview. ## Response 422 fields (application/json): - `message` (string, required) Errors overview. - `errors` (object, required) A detailed description of each field that failed validation.