> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vsyble.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Save companies to CRM

Save up to 500 selected companies to CRM. Reuses existing workspace domain matches without overwriting them; ambiguous or archived matches need review. Reuse the same requestId and companies for an uncertain retry. Does not start enrichment or outreach.

**Tool:** `crm_write` · **Method:** `companies_import`

Hosted OAuth MCP, local MCP, and REST API.

Generate a new requestId for each batch. Preserve that UUID and the exact companies array if the outcome is uncertain. A changed payload with the same UUID conflicts. Existing domain matches are returned unchanged. Report created, existing and needs\_review separately; no enrichment or outreach starts.

## Example

All IDs, addresses and revisions below are illustrative. Replace them with values read from your workspace.

> [tab] MCP
>
> ```json theme={null}
> {
>   "name": "crm_write",
>   "arguments": {
>     "method": "companies_import",
>     "requestId": "11111111-1111-4111-8111-111111111111",
>     "companies": [
>       {
>         "name": "Example Manufacturing",
>         "domain": "example.com"
>       }
>     ]
>   }
> }
> ```

> [tab] REST
>
> ```bash theme={null}
> curl https://api.vsyble.com/v1/outreach \
>   --request POST \
>   --header "Content-Type: application/json" \
>   --header "X-Vsyble-Api-Key: $VSYBLE_API_KEY" \
>   --data '{
>   "action": "importCompanies",
>   "requestId": "11111111-1111-4111-8111-111111111111",
>   "companies": [
>     {
>       "name": "Example Manufacturing",
>       "domain": "example.com"
>     }
>   ]
> }'
> ```

## Inputs

| Field | Type | Requirement | Details |
| - | - | - | - |
| `organizationId` | string | Optional | Workspace ID. Omit to use your current workspace. Format: uuid. |
| `requestId` | string | Required | New UUID for this batch. Keep it unchanged when retrying the same companies. Format: uuid. |
| `companies` | object\[] | Required | Minimum items: 1. Maximum items: 500. |
| `companies[].name` | string | Required | Minimum length: 1. Maximum length: 200. |
| `companies[].domain` | string | Optional | Minimum length: 1. Maximum length: 4096. |
| `companies[].website` | string | Optional | Format: uri. Maximum length: 2000. |
| `companies[].description` | string | Optional | Maximum length: 2000. |
| `companies[].industry` | string | Optional | Maximum length: 200. |
| `companies[].city` | string | Optional | Maximum length: 200. |
| `companies[].stateCode` | string | Optional | Maximum length: 200. |
| `companies[].country` | string | Optional | Maximum length: 200. |
| `companies[].linkedinUrl` | string | Optional | Format: uri. Maximum length: 500. |

For MCP, add `method: companies_import` alongside these fields. For REST, use `action: importCompanies` instead of method.

Fields inside an optional object are required only when that object is provided. Do not send fields from a different method.

## Result

MCP returns the following projected schema as structured content and JSON text. The REST response may contain additional fields; do not rely on undocumented fields.

> [accordion] Response schema
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "organizationId": {
>       "type": "string",
>       "format": "uuid",
>       "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
>     },
>     "companiesUrl": {
>       "type": "string",
>       "format": "uri"
>     },
>     "results": {
>       "maxItems": 500,
>       "type": "array",
>       "items": {
>         "type": "object",
>         "properties": {
>           "inputIndex": {
>             "type": "integer",
>             "exclusiveMinimum": 0,
>             "maximum": 9007199254740991
>           },
>           "status": {
>             "type": "string",
>             "enum": [
>               "created",
>               "existing",
>               "needs_review"
>             ]
>           },
>           "companyId": {
>             "anyOf": [
>               {
>                 "type": "string",
>                 "format": "uuid",
>                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
>               },
>               {
>                 "type": "null"
>               }
>             ]
>           }
>         },
>         "required": [
>           "inputIndex",
>           "status",
>           "companyId"
>         ],
>         "additionalProperties": false
>       }
>     }
>   },
>   "required": [
>     "organizationId",
>     "companiesUrl",
>     "results"
>   ],
>   "additionalProperties": false
> }
> ```

[Download input schema](https://docs.vsyble.com/schemas/companies_import.input.json) · [Download MCP response schema](https://docs.vsyble.com/schemas/companies_import.output.json)

See [permissions](https://docs.vsyble.com/security/permissions.md), [errors and recovery](https://docs.vsyble.com/api/errors.md), and [sending approval](https://docs.vsyble.com/security/sending.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.