Skip to main content

Create an organization

Create an organization before referencing it in an imported conversation:
Use a tenant API key with cxm:organizations.write or a broader scope. See the API overview for authentication and common limits.

Send a request

name is required, trimmed and nonblank, with a maximum of 255 characters. organizationId is optional; omitting it generates an org_<uuid> ID. A supplied ID must be nonblank and at most 255 characters. It cannot contain whitespace, control characters, /, \, %, ? or #, and cannot equal . or ... The exact ID org_<tenantId> is reserved for tenant settings. The endpoint accepts only organizationId and name. It does not accept tags, website, custom fields, historical timestamps or contact associations.

Save the created ID

A successful request returns 201 Created:
Duplicate names are allowed. A name is a display value, not a unique identity; CXP does not match or update an organization by name through this endpoint. For repeatable imports, preserve source IDs or save the returned ID mapping. An existing ID returns 409 OrganizationIdConflict with existingOrganizationId. This does not establish that the existing record has the same name or came from an earlier identical request. See common errors and retry behavior.