cURL
curl --request POST \ --url https://api.prelude.dev/v2/session/apps/{appID}/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "verification_token": "<string>", "events": [ "user.created" ] } '
{ "webhook": { "id": "<string>", "url": "<string>", "events": [ "user.created" ], "active": true, "last_http_code": 123, "last_http_code_date": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Create a webhook for an app.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the app the request refers to. An application's unique identifier.
2048
100
user.created
user.deleted
user.profile.updated
user.identifier.created
user.identifier.deleted
user.session.created
user.session.revoked
Created
Show child attributes
An application's webhook unique identifier. It is prefixed with 'web_'