Incoming Webhook

Incoming Webhooks are a simple way to record transactions from external sources into bkper.

They make use of normal HTTP requests with a JSON or form-urlencoded payload.


Incoming Payload

When POST request arrives a draft will be recorded the same way it's recorded at the webapp. The data is defined as follows:

JSON

Content-Type: application/json

{
   "text":"01/25 #car rental 83.56",
   "user_name":"someone"
}

URL Encoded

Content-Type: application/x-www-form-urlencoded

text=01%2F25+%23car+rental+83.56
user_name=someone

Curl usage sample

curl -H "Content-Type: application/json" -d '{"text":"01/25 #car rental 83.56", "user_name":"someone"}' ${url}

Still need help? Contact Us Contact Us