Events - Wekbhook Headers
Create Webhook Header
POST
/v1/events/webhooks/{webhook_id}/headers
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request POST \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/headers \
--header 'Content-Type: application/json'
{
"app_id": "integer",
"date_created": "string",
"date_last_modified": "string",
"id": "integer",
"key": "string",
"value": "string",
"webhook_id": "integer"
}
Retrieves a list of WebhookHeaders
for the given webhook_id
.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
webhook_idrequired
integer
Query Parameters
app_id
integer
Body
application/json
app_id
integer
App ID
date_created
string
Date of creation
date_last_modified
string
Date of last update
id
integer
key
string
Header Key
value
string
Header Value
webhook_id
integer
ID of the webhook the header belongs to
Response
200 - application/json
app_id
integer
App ID
date_created
string
Date of creation
date_last_modified
string
Date of last update
id
integer
key
string
Header Key
value
string
Header Value
webhook_id
integer
ID of the webhook the header belongs to
curl --request POST \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/headers \
--header 'Content-Type: application/json'
{
"app_id": "integer",
"date_created": "string",
"date_last_modified": "string",
"id": "integer",
"key": "string",
"value": "string",
"webhook_id": "integer"
}