Trigger Metronomes from GitHub webhooks

POST/v1/metronomes/github/inbound

Webhook endpoint for GitHub repository events. Published workflows with GitHub trigger nodes match on the configured event type and optional repository, branch/ref, actor, action, and payload filters. If webhook signature verification is configured on the backend, GitHub signatures in x-hub-signature-256 are verified. For internal testing, callers may also provide a matching 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-github-eventheaderstringNo
x-github-deliveryheaderstringNo
x-hub-signature-256headerstringNo
x-computer-agents-webhook-secretheaderstringNo

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
actionstringNo
repositoryobjectNo
senderobjectNo
refstringNo
issueobjectNo
pull_requestobjectNo
commentobjectNo
releaseobjectNo
workflow_runobjectNo

What the API returns

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

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