pods > webhooks > polling
Create Polling Webhook
Changed onCreate a polling webhook scoped to this pod and return the token that reads it.
CLI:
agentmail pods webhooks polling create --pod-id <pod_id> --client-id my-agent --event-types message.received
post/v0/pods/{pod_id}/webhooks/polling
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/pods/{pod_id}/webhooks/polling
- AuthHTTP bearer
Path parameters
pod_idstring required
ID of pod.
Request body
Response
Response with status 200
Changes
- info
endpoint added
- info