Change a webhook subscription
PUT
/subscriptions/{id}Last modified: 13 days ago
Request
Path Params
id
string
required
Header Params
X-Integration-Name
string
required
Integration name
Example:
API Documentation
X-Integration-Provider
string
required
Integration provider
Example:
cobra GmbH
X-Cobra-TenantId
string
required
Tenant ID
Example:
12e39e53-ece1-4d8d-8958-e782de1dbef0
X-Integration-Contact
string
optional
Integration contact
Example:
info@cobra.de
Body Params application/json
No schema defined
Example
{
"caption": "Event created",
"webhookId": "80f48afa-4927-43de-9d0d-24cf4aba53cf",
"method": "POST",
"url": "https://www.mytesturl.de",
"errorEmail": "error@cobra.de",
"payload": "{\"firstName\": \"John\",\"lastName\": \"doe\",\"EventNumber\": \"<EventNumber>\"}",
"headers": {
"MyHeader1": "HeaderValue1",
"MyHeader2": "HeaderValue2"
}
}
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"data": {
"id": "18d893cb-bbdc-4d3d-b5e3-f609c8c5422a",
"dateCreate": "2024-10-09T07:00:39.1437701+00:00",
"dateModified": "2024-10-09T07:00:39.1437705+00:00",
"caption": "Event created",
"webhookId": "80f48afa-4927-43de-9d0d-24cf4aba53cf",
"method": "POST",
"url": "https://www.mytesturl.de",
"errorEmail": "error@cobra.de",
"payload": "{\"firstName\": \"John\",\"lastName\": \"doe\",\"EventNumber\": \"<EventNumber>\"}",
"headers": {
"MyHeader1": "HeaderValue1",
"MyHeader2": "HeaderValue2"
}
},
"message": "",
"metaData": null,
"statusCode": 200
}
Last modified: 13 days ago