Mailmus

Webhooks

GET
/apps/{appId}/webhooks

Path Parameters

appId*string

Response Body

curl -X GET "https://example.com/apps/string/webhooks"
Empty
POST
/apps/{appId}/webhooks

Path Parameters

appId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/apps/string/webhooks" \  -H "Content-Type: application/json" \  -d '{    "url": "https://yourapp.com/webhooks/mailmus",    "events": [      "email.sent",      "send.delivered"    ]  }'
Empty
PATCH
/apps/{appId}/webhooks/{id}

Path Parameters

id*string
appId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://example.com/apps/string/webhooks/string" \  -H "Content-Type: application/json" \  -d '{}'
Empty
DELETE
/apps/{appId}/webhooks/{id}

Path Parameters

id*string
appId*string

Response Body

curl -X DELETE "https://example.com/apps/string/webhooks/string"
Empty
POST
/apps/{appId}/webhooks/{id}/rotate-secret

Path Parameters

id*string
appId*string

Response Body

curl -X POST "https://example.com/apps/string/webhooks/string/rotate-secret"
Empty
GET
/apps/{appId}/webhooks/{id}/deliveries

Path Parameters

id*string
appId*string

Response Body

curl -X GET "https://example.com/apps/string/webhooks/string/deliveries"
Empty
POST
/apps/{appId}/webhooks/{id}/deliveries/{deliveryId}/replay

Path Parameters

id*string
deliveryId*string
appId*string

Response Body

curl -X POST "https://example.com/apps/string/webhooks/string/deliveries/string/replay"
Empty
POST
/apps/{appId}/webhooks/{id}/test

Path Parameters

id*string
appId*string

Response Body

curl -X POST "https://example.com/apps/string/webhooks/string/test"
Empty