POST
/v1/zitadel/eventsNo 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/eventsExample
curl -X POST https://api.certinvo.com/v1/zitadel/events \
-H "zitadel-signature: string" \
-H "Content-Type: application/json" \
--data-binary @body.jsonimport { 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