API Reference Overview
Authentication
Consumers
Connections
Accounting
- Folders
- Book years
- Clients
- Suppliers
- Invoices
- Ledger accounts
- Journals
- Journal entries
- Employees
- Analytic plans
- Analytic accounts
- Miscellaneous operations
- Outstandings
- VAT codes
- Attachments
Invoicing
- Contacts
- Invoices
- Products
- Taxes
- Opportunities
- Payments
- Payment methods
POS
- Orders
- Payment methods
- Payments
- Closure info
- Locations
- Products
- Categories
- Customers
- Objectives
eCommerce
- Orders
- Products & variants
- Categories
- Customers
- Payment methods
- Locations
- Countries
- Taxes
PMS
- Orders
- Invoices
- Payment methods
- Payments
- Closure info
- Locations
- Categories
- Customers
- Taxes
Payment
- Payments
- Balances
- Transactions
- Refunds
Banking
- Financial institutions
- Banking accounts
- Transactions
Webhooks
Add new webhook instance
Returns the created webhook instance
POST
/
webhooks
curl --request POST \
--url https://api.chift.eu/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"event": "<string>",
"url": "<string>",
"signingsecret": "<string>",
"integrationid": 123
}'
{
"webhookid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdby": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdon": "2023-11-07T05:31:56Z",
"event": "<string>",
"url": "<string>",
"status": "active",
"integrationid": 123
}
Authorizations
This access token needs to be included in each of your request to the Chift API.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.chift.eu/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"event": "<string>",
"url": "<string>",
"signingsecret": "<string>",
"integrationid": 123
}'
{
"webhookid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdby": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdon": "2023-11-07T05:31:56Z",
"event": "<string>",
"url": "<string>",
"status": "active",
"integrationid": 123
}
Assistant
Responses are generated using AI and may contain mistakes.