Kobble
  1. Webhooks
Kobble
  • Introduction
  • Authorization
    • Authorization
    • Get access token
      POST
  • Beneficiaries
    • List all beneficiaries
      GET
    • Get beneficiary by ID
      GET
    • Create beneficiary
      POST
    • Update beneficiary
      PUT
  • Cards
    • Cards API
    • Get all cards
      GET
    • Create a new card
      POST
    • Get card by ID
      GET
    • Update card status
      PATCH
    • Replace or renew card
      POST
    • Generate card secret
      POST
  • Card Programs
    • Card Programs API
    • Get all programs
      GET
    • Create a new program
      POST
    • Get program by ID
      GET
  • Clients
    • Clients API
    • Get all clients
      GET
    • Get client by ID
      GET
    • Create a new client
      POST
    • Update client status
      PATCH
  • Endusers
    • Endusers API
    • Get all endusers
    • Create a new enduser
    • Get enduser by ID
  • Transactions
    • Transactions API
    • Get all transactions
    • Create a transaction
    • Get transaction by ID
    • Create manual credit transaction
    • Create manual debit transaction
  • Wallets
    • Wallets API
    • Get all wallets
    • Create a new wallet
    • Get wallet by ID
    • Update wallet
  • Relays
    • Relays API
    • Create subscription
  • Webhooks
    • Webhooks API
    • Get all webhooks
      GET
    • Create a webhook
      POST
    • Delete a webhook
      DELETE
  1. Webhooks

Create a webhook

Developing
POST
/customer/v1/webhooks/subscriptions

Request

Header Params
Authorization
string 
optional
Example:
Bearer {{access_token}}
Body Params application/json
url
string 
required
Example
{
    "url": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/customer/v1/webhooks/subscriptions' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "string"
}'

Responses

🟢200Success
application/json
Body
id
string <uuid>
required
The unique identifier of the webhook.
client_id
string <uuid>
required
The client ID associated with the webhook.
url
string 
required
The webhook url
created_at
string <date-time>
required
The date and time the card was created.
updated_at
string <date-time>
required
The date and time the card was last updated.
metadata
object 
required
Metadata specific to the webhook.
Example
{
    "id": "530d8eae-b44c-4ae3-9c31-874bf98b2bdf",
    "client_id": "a30595d9-de0a-42ae-b3f3-55643abd2eb8",
    "url": "https://male-goat.biz",
    "created_at": "2025-01-14T17:00:33.406Z",
    "updated_at": "2025-01-14T17:00:33.410Z",
    "metadata": {}
}
Previous
Get all webhooks
Next
Delete a webhook
Built with