Create a new Webhook and store it
Request
Add parameter in header x-api-key
 Example:x-api-key: ********************
 Add parameter in header x-api-env
 Example:x-api-env: ********************
 or
Body Params  application/json
{
    "url": "http://example.com",
    "description": "string",
    "active": true,
    "event_types": [
        "card.created"
    ]
}
Request Code Samples
curl --location --request POST 'https://api.vplan.com/v1/webhook' \
--header 'x-api-key: <api-key>' \
--header 'x-api-env: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "http://example.com",
    "description": "string",
    "active": true,
    "event_types": [
        "card.created"
    ]
}'
Responses
application/json {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "url": "http://example.com",
    "description": "string",
    "active": true,
    "event_types": [
        "card.created"
    ],
    "api_key_id": "NULL",
    "developer_client_id": "NULL",
    "third_party": true,
    "fail_streak": "0",
    "fail_streak_started_at": "2019-08-24T14:15:22Z",
    "last_failed_at": "2019-08-24T14:15:22Z",
    "mailed_warning_at": "2019-08-24T14:15:22Z",
    "mailed_disabled_at": "2019-08-24T14:15:22Z",
    "disabled_until": "2019-08-24T14:15:22Z",
    "can_send": true,
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
}
Modified at 2025-10-30 09:44:22