API ReferenceWebhooks
Create a webhook
POST
header
x-kite-signature<token>Base64url Ed25519 signature of timestamp nonce METHOD path?query sha256(body), sent with x-kite-api-key-id, x-kite-timestamp and x-kite-nonce
application/json- body
url*stringMatch
^https?://Format
uriLength
length <= 2048label*stringLength
1 <= length <= 120categories*array<>Items
1 <= itemsmaxRetries?|Range
0 <= value <= 20retryIntervalInSeconds?|Range
1 <= value <= 86400timeoutInSeconds?|Range
1 <= value <= 120Response for status 201
application/json- response
id*stringFormat
uuidappId*stringFormat
uuidurl*stringlabel*stringcategories*array<>signingKeyHint*stringmaxRetries*integerretryIntervalInSeconds*integertimeoutInSeconds*integerdeletedAt*|Format
date-timecreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timesigningKey*stringcurl -X POST 'https://testnet.usekite.site/api/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com", "label": "string", "categories": [ "Transfer" ]}'Example Response201
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "url": "string", "label": "string", "categories": [ "Transfer" ], "signingKeyHint": "string", "maxRetries": 0, "retryIntervalInSeconds": 0, "timeoutInSeconds": 0, "deletedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "signingKey": "string"}