Skip to main content
POST
/
crm
/
batch
Batch operations
curl --request POST \
  --url https://www.dench.com/api/v1/crm/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ops": [
    {
      "type": "entries.create",
      "objectName": "people",
      "data": {
        "Name": "Jane"
      }
    }
  ],
  "idempotencyKey": "import-2026-06-01"
}
'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
ops
object[]
required
Maximum array length: 200

A single CRM batch/transaction operation.

idempotencyKey
string

Response

Successful response