Get all Automation Blueprints
Headers
-
Content-Type string
-
Accept string
Query parameters
-
include string
Comma separated list of relationships to include in the response. Valid relationships are [account,steps,webhook_targets].
-
filter[uuid] string
Filter by a comma separated list of UUIDs.
-
filter[is_active] boolean
Filter automation blueprints by which are active or not.
-
filter[trigger] string
Filter automation blueprints by a certain trigger type.
-
filter[name] string
Filter automation blueprints by a partial match to the blueprint name.
-
sort string
Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC. Defaults to 'name'.
-
per_page integer
Number of results to return with pagination (Default 15. Max 500).
GET /api/v1/automation-blueprints
curl \
-X GET https://api.plannrcrm.com/api/v1/automation-blueprints \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"data": [
{
"name": "Add new client on webhook",
"uuid": "d6b3046d-7dcb-4bdf-80eb-ebdc6003cf0a",
"steps": [
{
"name": "create a new client",
"type": "client.create",
"uuid": "e0382fd5-e51f-4cb9-bb31-84a1413bbaec",
"updated": "2024-11-20T13:24:03+00:00",
"created_at": "2024-11-20T13:24:03+00:00",
"configuration": {
"params": {
"account_uuid": {
"type": "ref",
"value": "trigger.account.uuid"
}
}
},
"condition_state": false,
"parent_step_uuid": "08598018-d12e-45f1-89fb-a45f273c228d"
}
],
"account": {
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "e3125c7b-ffa0-4f0e-96d4-0e82f894c43b",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2024-11-20T13:24:03+00:00",
"first_name": "Gareth",
"updated_at": "2024-11-20T13:24:03+00:00",
"with_login": true,
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"introduced_by": "App\\Http\\Resources\\AccountResource",
"primary_email": "App\\Http\\Resources\\ContactDetailResource",
"can_be_deleted": "false",
"assigned_adviser": "App\\Http\\Resources\\AccountResource",
"next_review_date": "2024-11-20T13:24:03+00:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2024-11-20T13:24:03+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"previous_review_date": "2024-11-20T13:24:03+00:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2024-11-20T13:24:03+00:00"
},
"trigger": "client.create",
"is_active": false,
"conditions": [],
"created_at": "2024-11-20T13:24:03+00:00",
"updated_at": "2024-11-20T13:24:03+00:00",
"steps_count": "1",
"configuration": [],
"webhook_targets": [
{
"url": "https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea",
"uuid": "e9f1a969-86ae-4a8a-b7df-d4cec4f8f625",
"created_at": "2024-11-20T13:24:03+00:00",
"updated_at": "2024-11-20T13:24:03+00:00"
}
]
}
]
}