MailLeader
  1. Webhook
MailLeader
  • Inicio
  • Comece Aqui
  • Comece a receber e-mails
  • Api
    • Authentication
      • Api Keys
        • Create ApiKey
        • Search ApiKeys
        • Remove ApiKey
    • User
      • Get authenticated user
    • Domain
      • Accounts
        • Create Account
        • List Accounts
        • Delete Account
      • Create Domain
      • Domains
      • Delete Domain
    • Mail
      • Send Mail
    • Billing
      • Licenses
        • Search License
        • Get License
      • Invoice
        • Get Invoice Details
        • Search Invoices
        • Get Invoice
      • Expenses
        • List Expenses
      • Profile
      • Domain Usage
      • Domain Usage Operational
      • Usage
      • Current License
    • Webhook
      • Create Webhook
        POST
      • Update Webhook
        PATCH
      • Search Webhook
        GET
  1. Webhook

Create Webhook

POST
https://mail.devtcloud.com/api/v1/webhook

Requisição

Authorization
Adicionar parâmetro em header
x-api-key
Exemplo:
x-api-key: ********************
Parâmetros Bodyapplication/x-www-form-urlencoded

Respostas

🟢200Sucesso
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mail.devtcloud.com/api/v1/webhook' \
--header 'x-api-key: <api-key>' \
--data-urlencode 'url=https://exmplae.com/webhook/domain-verification' \
--data-urlencode 'event[0]=domain.verified'
Response Response Example
{
    "message": "Webhook criado com sucesso",
    "id": "766415313288826880"
}
Modificado em 2025-11-27 11:33:14
Página anterior
Current License
Próxima página
Update Webhook
Built with