Create Or Update Organization
POST {{baseUrl}}/api/v2/organizations/create_or_update
Creates an organization if it doesn't already exist, or updates an existing organization identified by ID or external ID. Using this method means one less call to check if an organization exists before creating it.
Allowed For
- Agents, with restrictions on certain actions
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: Created
{"organization":{"created_at":"2020-09-30T01:50:12Z","details":null,"domain_names":[],"external_id":null,"group_id":null,"id":23409462,"name":"My Organization","notes":null,"organization_fields":null,"shared_comments":false,"shared_tickets":false,"tags":[],"updated_at":"2020-09-30T01:50:12Z","url":"https://example.zendesk.com/api/v2/organizations/23409462.json"}}