Skip to main content
POST
/
v2
/
session
/
apps
/
{appID}
/
webhooks
/
{webhookID}
/
activate
Activate webhook
curl --request POST \
  --url https://api.prelude.dev/v2/session/apps/{appID}/webhooks/{webhookID}/activate \
  --header 'Authorization: Bearer <token>'
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

The id of the app the request refers to. An application's unique identifier.

webhookID
string
required

The id of the webhook the request refers to. An application's webhook unique identifier. It is prefixed with 'web_'

Response

OK

webhook
object
required