Trigger Metronomes from inbound email

POST/v1/metronomes/email/inbound

Webhook endpoint for mail providers that forward messages addressed to workflow-scoped @metronome.computer-agents.com inboxes. If METRONOME_EMAIL_WEBHOOK_SECRET is configured, callers must provide the same value in the x-computer-agents-webhook-secret header or secret query parameter.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
NameLocationTypeRequiredDescription
secretquerystringNo
Header parameters
NameLocationTypeRequiredDescription
x-computer-agents-webhook-secretheaderstringNo

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
tostringNo
recipientstringNo
fromstringNo
subjectstringNo
textstringNo
htmlstringNo
attachmentsobject[]No

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Inbound email processedapplication/json
FieldTypeRequiredDescription
successbooleanNoWhether the request succeeded.
objectstringNo
matched_countintegerNo
dataobject[]No
400Invalid inbound email payload
None.
401Invalid webhook secret
None.
Trigger Metronomes from inbound email
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow