---
title: "Receive an event from the identity provider"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive an event from the identity provider

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/zitadel/events</code>
</div>
<div class="cvo-op-badges">
<span class="cvo-op-badge cvo-op-badge-auth" data-required="none">No key needed</span>
</div>
</div>

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

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## 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`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/receive-an-event-from-the-identity-provider/index.mdx
