Skip to main content
WEBHOOK
message.complained
{
  "id": "evt_1a2b3c",
  "object": "event",
  "created_at": "2023-11-07T05:31:56Z",
  "data": {}
}

Authorizations

Authorization
string
header
required

All requests must include Authorization: Bearer <api_key>. Keys are prefixed pw_live_ or pw_test_. See Authentication.

Body

application/json
id
string
Example:

"evt_1a2b3c"

object
enum<string>
Available options:
event
type
enum<string>
Available options:
message.sent,
message.delivered,
message.bounced,
message.opened,
message.clicked,
message.complained,
contact.unsubscribed,
domain.verified
created_at
string<date-time>
data
object

The object the event happened to, e.g. a Message or Contact

Response

200

Acknowledge receipt