4 endpoints

Webhooks (outbound)

Base path: /organizations/:orgId/webhooks-outbound · Source: backend/src/modules/webhooks-outbound/webhooks-outbound.controller.ts

GET/organizations/:orgId/webhooks-outbound
bearer

Path params

orgIdstring

Ejemplo curl

curl -X GET 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/webhooks-outbound' \
  -H 'Authorization: Bearer YOUR_TOKEN'
POST/organizations/:orgId/webhooks-outbound
bearer

Path params

orgIdstring

Body

CreateOutboundDtoparámetro: dto

Ejemplo curl

curl -X POST 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/webhooks-outbound' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
DELETE/organizations/:orgId/webhooks-outbound/:id
bearer

Path params

orgIdstring
idstring

Ejemplo curl

curl -X DELETE 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/webhooks-outbound/00000000-0000-0000-0000-000000000000' \
  -H 'Authorization: Bearer YOUR_TOKEN'
GET/organizations/:orgId/webhooks-outbound/:id/deliveries
bearer

Path params

orgIdstring
idstring

Ejemplo curl

curl -X GET 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/webhooks-outbound/00000000-0000-0000-0000-000000000000/deliveries' \
  -H 'Authorization: Bearer YOUR_TOKEN'