curl --request POST \
--url https://api.redbark.com/v2/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Redbark-Version: <api-key>' \
--data '
{
"type": "webhook",
"name": "<string>",
"target": {
"url": "<string>"
}
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Redbark-Version': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({type: 'webhook', name: '<string>', target: {url: '<string>'}})
};
fetch('https://api.redbark.com/v2/destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.redbark.com/v2/destinations"
payload = {
"type": "webhook",
"name": "<string>",
"target": { "url": "<string>" }
}
headers = {
"Authorization": "Bearer <token>",
"Redbark-Version": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "dest_3Fg5Hj7kLm9nPq1rSt3uVw",
"object": "destination",
"type": "sheets",
"name": "<string>",
"status": "active",
"target": {},
"config": {
"signing_secret": "<string>"
},
"sync_count": 123,
"metadata": {},
"livemode": true,
"created": "2026-08-21T09:30:00.000Z",
"updated": "2026-08-21T09:30:00.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Create a webhook destination
Webhook destinations are created directly. Sheets, Notion, Airtable and YNAB go through POST /v2/destination_links. The signing secret is returned in config.signing_secret on create and rotate responses only (shown once); elsewhere it is null.
curl --request POST \
--url https://api.redbark.com/v2/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Redbark-Version: <api-key>' \
--data '
{
"type": "webhook",
"name": "<string>",
"target": {
"url": "<string>"
}
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Redbark-Version': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({type: 'webhook', name: '<string>', target: {url: '<string>'}})
};
fetch('https://api.redbark.com/v2/destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.redbark.com/v2/destinations"
payload = {
"type": "webhook",
"name": "<string>",
"target": { "url": "<string>" }
}
headers = {
"Authorization": "Bearer <token>",
"Redbark-Version": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "dest_3Fg5Hj7kLm9nPq1rSt3uVw",
"object": "destination",
"type": "sheets",
"name": "<string>",
"status": "active",
"target": {},
"config": {
"signing_secret": "<string>"
},
"sync_count": 123,
"metadata": {},
"livemode": true,
"created": "2026-08-21T09:30:00.000Z",
"updated": "2026-08-21T09:30:00.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Authorization: Bearer rbk_live_...
The API release your integration is built against, e.g. 2026-10-01.wattle. Required on every request.
Query Parameters
Related objects to expand inline. Repeat the parameter for more than one; see each resource for its includes.
Body
Only webhook destinations are created directly; OAuth types go through POST /v2/destination_links
webhook 1 - 100Show child attributes
Show child attributes
Up to 50 string pairs. Set a key to null to unset it.
Show child attributes
Show child attributes
Response
Created
"dest_3Fg5Hj7kLm9nPq1rSt3uVw"
destination sheets, airtable, notion, ynab, webhook active, incomplete, reauth_required, disabled Type-specific target: spreadsheet_id/sheet_id, database_id, base_id/table_id, budget_id, url
Show child attributes
Show child attributes
Webhook only; signing_secret is set on create and rotate responses, null elsewhere
Show child attributes
Show child attributes
Up to 50 string pairs. Set a key to null in an update to unset it.
Show child attributes
Show child attributes
"2026-08-21T09:30:00.000Z"
"2026-08-21T09:30:00.000Z"

