Skip to main content
POST
/
v1
/
events
Registrar evento
curl --request POST \
  --url https://api.notifique.dev/v1/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "user.created",
  "schemaJson": {}
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Authorization: Bearer sk_live_...

Body

application/json
name
string
required
Required string length: 1 - 256
Example:

"user.created"

schemaJson
object

Objeto plano: nome do campo → tipo esperado no payload.

Response

Evento criado.

success
enum<boolean>
required
Available options:
true
data
object
required