Skip to Content
Automations

Load Automation Test Context

Access

Member of the organization with this permission:

  • automations:write

An API key with scopes also needs the permission among its scopes.

POST
/orgs/{organizationId}/automations/test-context

Builds the data a run would start with for the chosen records, so a test run can use real data. Reads only; nothing is sent, created or changed. Needs automations:write.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
eventKey*string
Length1 <= length
records*

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//automations/test-context' \  -H 'Content-Type: application/json' \  -d '{  "eventKey": "string",  "records": {    "property1": "string",    "property2": "string"  }}'
Example Response
null