ES | EN

📄 MIPYME Documents

Create a new webhook subscription

POST
Endpoint URL https://api-billing.koywe.com/V1/webhook_subscriptions
Requires authentication

Authentication

Send header Authorization: Bearer <token> (obtained from POST /auth) for protected endpoints.

Parameters

No parameters.

Request body — fields

FieldTypeRequiredDescription
account_idintegerOptionalAccount ID of the associated account
callback_urlstringOptionalURL to be notified
callback_usernamestringOptionalUsername to be sent to the notification URL
callback_passwordstringOptionalPassword to be sent to the notification URL
event_idstringOptionalID of the event that you are subscribing to. Valid values: ACCOUNT.CERTIFICATIONUPDATE

Request body — JSON example

{
    "account_id": 0,
    "callback_url": "https://server.com/myscript.php",
    "callback_username": "string",
    "callback_password": "string",
    "event_id": "string"
}

Responses

Digital certificate link successfully generated