Documentation for webhooks
WEBHOOK_URL
and WEBHOOK_SECRET
environment variables. Once enabled, the URL specified will start receiving the following events:
USER_REGISTER_SUCCESS
user_id
: The unique identifier of the registered user.
user_email
: The email address of the registered user.
APOLLO_MIGRATE_INIT
actor_id
(optional): The identifier of the actor initializing the migration
Sample Payload:
APOLLO_MIGRATE_SUCCESS
federated_graph
: An object representing the federated graph details.
id
: The unique identifier of the federated graph.
name
: The name of the federated graph.
actor_id
(optional): The identifier of the actor initializing the migration.
X-Cosmo-Signature-256
.
X-Cosmo-Signature-256
header.
Here’s an example in Node.js: