Skip to main content
POST
/
api
/
v1
/
teams
/
{team_id}
/
hubs
/
{hub_id}
/
automations
/
{automation_id}
/
test
Dry Run Automation
curl --request POST \
  --url https://api.member.dev/api/v1/teams/{team_id}/hubs/{hub_id}/automations/{automation_id}/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "team_contact_id": "<string>"
}
'
{
  "meta": {},
  "trace": [
    {
      "node_id": "<string>",
      "node_type": "<string>",
      "result": "<string>",
      "skip_reason": "<string>",
      "skipped": false,
      "would_add_tag": "<string>",
      "would_enroll_in_sequence": "<string>",
      "would_fire_webhook": "<string>",
      "would_remove_tag": "<string>",
      "would_send_email": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required
hub_id
string
required
automation_id
string
required

Body

application/vnd.api+json

Body for POST /automations/{id}/test — dry-run executor.

team_contact_id
string
required

Response

Successful Response

Response envelope for the dry-run endpoint.

meta
Meta · object
required
trace
DryRunStepTrace · object[]
required