pods > webhooks > polling

Get Polling Webhook

Changed on

CLI:

agentmail pods webhooks polling get --pod-id <pod_id> --webhook-id <webhook_id>
get/v0/pods/{pod_id}/webhooks/polling/{webhook_id}

Request

  • Base URL
    https://api.agentmail.to
  • URL
    https://api.agentmail.to/v0/pods/{pod_id}/webhooks/polling/{webhook_id}
  • Auth
    HTTP bearer

Path parameters

pod_idstring required

ID of pod.

webhook_idstring required

ID of webhook.

Response

Response with status 200

webhook_idstring required

ID of webhook.

client_idstring required

Client ID of webhook.

event_typesEventsEventType[] required

Event types for which to send events.

pod_idsstring[]

Pods for which to send events.

inbox_idsstring[]

Inboxes for which to send events.

pod_idstring

ID of the pod the subscription belongs to: the pod it was created in, or the pod of the inbox it belongs to. Absent for an organization subscription. This is not the list of pods it receives events for; see pod_ids.

inbox_idstring

ID of the inbox the subscription belongs to, if it was created for an inbox. This is not the list of inboxes it receives events for; see inbox_ids.

updated_atstring date-time required

Time at which the subscription was last updated.

created_atstring date-time required

Time at which the subscription was created.

Changes