Skip to content

API reference

Receive an event from the identity provider

Other routes API

POST/v1/zitadel/events
No key needed

The identity provider calls this when something happens to a person who signs in. Only user.removed acts: the person whose id it names can no longer sign in, and their email address is free again, so it can sign up anew. Their memberships and every record that names them stay. Every other event is answered and changes nothing. A repeated call releases nobody new.

The call is signed with the zitadel-signature header: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<body>">. A call that does not verify, or is more than 300 seconds old, is refused and nothing is read.

Headers

  • zitadel-signaturestringRequired

Request body

application/json, required

  • event_typestringRequired
  • aggregateTypestringRequired
  • aggregateIDstringRequired

Response

A 200 answer carries these fields.

  • releasedbooleanRequired

Status codes

Status Meaning
200 The call was read. released is true when it freed a person.
401 The call is not signed with our key, or is too old (invalid_signature). Nothing was read.
503 This deployment has no signing key (zitadel_events_not_configured), or no database (store_unavailable).
POST/v1/zitadel/events
Example
curl -X POST https://api.certinvo.com/v1/zitadel/events \
  -H "zitadel-signature: string" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
import { readFile } from 'node:fs/promises'

const response = await fetch(`https://api.certinvo.com/v1/zitadel/events`, {
  method: 'POST',
  headers: {
    'zitadel-signature': 'string',
    'Content-Type': 'application/json',
  },
  body: await readFile('body.json'),
})
console.log(response.status, await response.json())
import requests

response = requests.post(
    "https://api.certinvo.com/v1/zitadel/events",
    headers={"zitadel-signature": "string", "Content-Type": "application/json"},
    data=open("body.json", "rb"),
)
print(response.status_code, response.text)
200
application/json
{
  "released": true
}
Success response
POST
/v1/zitadel/events
Receive an event from the identity provider
All
›AuthenticationNoneBearerAuth

This endpoint does not require authentication.

›Headers2
›Bodyapplication/json
›Code Snippet
curl -X POST "https://api.certinvo.com/v1/zitadel/events" \
  -H "Content-Type: application/json" \
  -d '{
  "event_type": "string",
  "aggregateType": "string",
  "aggregateID": "string"
}...'
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close