Query
query PublicEventRequestBody($publicEventId: ID!) {
publicEventRequestBody(publicEventId: $publicEventId)
}Variables
{
"publicEventId": "id"
}Response
{
"data": {
"publicEventRequestBody": "string"
}
}Queries
publicEventRequestBody
Fetch the full JSON request body that Plain sent (or would send) for a given public event. Returns null if the event has expired — events are retained for 30 days. Use this alongside webhookDeliveryAttempts to inspect the exact payload for a failed delivery attempt and replay or debug it. Requires the webhookTarget:read permission.
QUERY
publicEventRequestBody(publicEventId: ID!): StringArguments
publicEventId
ID!
required
Returns
String
Query
query PublicEventRequestBody($publicEventId: ID!) {
publicEventRequestBody(publicEventId: $publicEventId)
}Variables
{
"publicEventId": "id"
}Response
{
"data": {
"publicEventRequestBody": "string"
}
}Was this page helpful?

