Get the fields of a trigger or step type
Returns the JSON Schema of one trigger type or step type listed by GET /automation/catalog: its fields, which ones are required and their allowed values.
For a trigger, the fields go next to type in the trigger object. For a step, they go in an object named after the step type, for example {"id": "mail", "type": "send_email", "send_email": {"template_id": 12}, "next": null}.
A field with x-lookup takes an ID from another resource. The value names that lookup: lists_get_lists is GET /contacts/lists, segments_get_segments is GET /contacts/segments, attributes_get_attributes is GET /contacts/attributes, templates_get_smtp_templates is GET /smtp/templates, transac_templates_get_sms_templates is GET /transactionalSMS/templates, senders_get_senders is GET /senders and automation_list_workflows is GET /automation/workflows.
Authentication
The API key should be passed in the request headers as api-key for authentication.
OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.
Path parameters
A trigger type or step type, exactly as listed by GET /automation/catalog (for example send_email, start_another_workflow, go_to_step, percentage_split). A type the catalog does not list is answered with 404.