younifyd
Menu

Create Many Organizations

Create Many Organizations

POST/api/v2/organizations/create_many

Use it in a workflow

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

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "https://{subdomain}.{domain}.com"

bodystring

The request body content (for POST, PUT, PATCH requests).

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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

job_statusobject
idstring

Automatically assigned when the job is queued

job_typestring

The type of the job

messagestring

Message from the job worker, if any

progressinteger

Number of tasks that have already been completed

resultsoneOf

Result data from processed tasks. See [Results](#results) below

statusstring

The current status. One of the following: "queued", "working", "failed", "completed"

totalinteger

The total number of tasks this job is batching through

urlstring

The URL to poll for status updates

json
{
  "job_status": {
    "id": "82de0b044094f0c67893ac9fe64f1a99",
    "message": "Completed at 2018-03-08 10:07:04 +0000",
    "progress": 2,
    "results": [
      {
        "action": "update",
        "id": 244,
        "status": "Updated",
        "success": true
      },
      {
        "action": "update",
        "id": 245,
        "status": "Updated",
        "success": true
      }
    ],
    "status": "completed",
    "total": 2,
    "url": "https://example.zendesk.com/api/v2/job_statuses/82de0b0467893ac9fe64f1a99"
  }
}

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

Create Many Organizations — Zendesk — Documentation