Kobble
  1. Relays
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
      POST
  • Webhooks
    • Webhooks API
    • Get all webhooks
    • Create a webhook
    • Delete a webhook
  1. Relays

Create subscription

POST
/customers/v1/relays
Relays
To create relay subscription by passing a client url

Request

Header Params
Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {{access_token}}
Body Params application/json
url
string 
required
Example
{
    "url":"https://kobble.com"
}

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 '/customers/v1/relays' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url":"https://kobble.com"
}'

Responses

🟢200Success
application/json
Body
id
string <uuid>
required
The unique identifier of the relay.
client_id
string <uuid>
required
The client ID associated with the relay.
url
string 
required
The relay 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.
public_key
string 
required
The public key associated with the relay
Example
{
    "id": "d18efff5-f8c0-4e15-a683-fe7e8a1a8f2f",
    "client_id": "5cad242e-4291-4905-8849-a6f09f4e6d4a",
    "url": "https://basic-wallaby.biz",
    "created_at": "2025-01-14T16:59:07.432Z",
    "updated_at": "2025-01-14T16:59:07.433Z",
    "public_key": "aaaaaa"
}
Previous
Relays API
Next
Webhooks API
Built with