younifyd
Menu

Create Organization Merge

Merge Organization With Another Organization

POST/api/v2/organizations/{organization_id}/merge

Use it in a workflow

  1. Add a step and choose the Zendesk connector.
  2. Pick the Create Organization Merge action (under Organizations).
  3. Fill in the fields below, then reference the result from later steps as {{createOrganizationMerge.response.data}}.

Request

Path parameters

organization_idinteger (int64)required

The ID of an organization

Request body

Enter the body as JSON in the step's Body field.

organization_mergeobject
winner_idinteger (int64)

The id of the winning organization.

json
{
  "organization_merge": {
    "winner_id": 0
  }
}

Response

Returns 200 with an object. Read it in later steps with {{createOrganizationMerge.response.data.<field>}}.

organization_mergeobject
idstring (string)required
loser_idinteger (int64)required
statusstringrequired

One ofnewin_progresserrorcomplete

urlstring (string)required
winner_idinteger (int64)required
json
{
  "organization_merge": {
    "id": "string",
    "loser_id": 0,
    "status": "new",
    "url": "string",
    "winner_id": 0
  }
}

Need more? See the Zendesk guide for connection setup and behaviour shared by every action.