Autonotify API (Beta)
  1. Webhook
Autonotify API (Beta)
  • Introduction
  • Get started
  • API
    • Groups
      • Create
      • Join By Invite Code
      • Revoke Invite Code
      • Get Invite Code
      • Get Group by ID
      • Get All Groups
      • Get All Groups Admin
      • Update
      • Update Profile Picture
      • Group Member Add Mode
      • Leave
      • Members
    • Messages
      • Read Message
      • Send Plain Text
      • Send Media
      • Send Poll
      • Message Reaction
    • Sessions
      • Get Profile
      • Fetch Instance
      • Logout Instance
      • Create Instance
    • Chats
      • Update Status Profile
      • Update presence
      • Block Contact
      • Get Profile Picture
      • Update Privacy Settings
      • Update Profile Name
      • Get Business Profile
      • Put Chat
      • Check is WhatsApp
      • Remove Phone From Label
    • Newsletter (BETA)
      • Create
      • Update
      • Update Profile Description
      • Update Profile Picture
      • Get Newsletter By ID
    • Webhook
      • Register webhook
        POST
    • Community
      • Create
      • Update
      • GET
      • Invite Code
      • Participantes Com Pedidos
      • Settings
      • Approval Mode
      • Add Mode
      • Communities Linkeds
      • Comunidades Participantes Resquests
      • Todas comunidades
  1. Webhook

Register webhook

Developing
POST
/api/v1/webhooks/register

Request

Header Params

Body Params application/json

Example
{
    "url": "string",
    "events": [
        "string"
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://nexus.sourei.com.br/api/v1/webhooks/register' \
--header 'Authorization: Bearer {{token}}' \
--header 'x-session-id: {{session_id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "string",
    "events": [
        "string"
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-01-30 16:42:33
Previous
Get Newsletter By ID
Next
Create
Built with