Skip to Content
New release 12 available 🎉

Webhooks Schemas

Management.CreateWebhookSubscriptionDto

{ "name": "string", "eventType": "string", "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "maxRetryCount": 0, "isActive": true }

Properties

NameTypeRequiredRestrictionsDescription
namestring¦nullfalsenonenone
eventTypestring¦nullfalsenonenone
urlstring¦nullfalsenonenone
secretstring¦nullfalsenonenone
headersobject¦nullfalsenonenone
» additionalPropertiesstring¦nullfalsenonenone
maxRetryCountinteger(int32)¦nullfalsenonenone
isActiveboolean¦nullfalsenonenone

Management.CreateWebhookSubscriptionRequest

{ "subscription": { "name": "string", "eventType": "string", "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "maxRetryCount": 0, "isActive": true } }

Properties

NameTypeRequiredRestrictionsDescription
subscriptionManagement.CreateWebhookSubscriptionDtofalsenonenone

Management.CreateWebhookSubscriptionResponse

{ "subscription": { "id": 0, "name": "string", "eventType": "string", "url": "string", "secret": "string", "maxRetryCount": 0, "isActive": true, "userId": "string", "headers": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "webhookEvents": [ { "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ] }, "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
subscriptionManagement.WebhookSubscriptionfalsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.DeleteWebhookEventResponse

{ "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.DeleteWebhookSubscriptionResponse

{ "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.GetWebhookEventTypesResponse

{ "eventTypes": [ { "name": "string", "description": "string" } ], "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
eventTypes[Management.WebhookEventType]¦nullfalsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.GetWebhookEventsResponse

{ "events": [ { "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ], "totalEventsCount": 0, "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
events[Management.WebhookEvent]¦nullfalsenonenone
totalEventsCountinteger(int32)falsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.GetWebhookStatusResponse

{ "isEnabled": true, "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
isEnabledbooleanfalsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.GetWebhookSubscriptionResponse

{ "subscription": { "id": 0, "name": "string", "eventType": "string", "url": "string", "secret": "string", "maxRetryCount": 0, "isActive": true, "userId": "string", "headers": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "webhookEvents": [ { "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ] }, "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
subscriptionManagement.WebhookSubscriptionfalsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.GetWebhookSubscriptionsResponse

{ "subscriptions": [ { "id": 0, "name": "string", "eventType": "string", "url": "string", "secret": "string", "maxRetryCount": 0, "isActive": true, "userId": "string", "headers": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "webhookEvents": [ { "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ] } ], "totalSubscriptionsCount": 0, "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
subscriptions[Management.WebhookSubscription]¦nullfalsenonenone
totalSubscriptionsCountinteger(int32)falsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.SendWebhookTestEventRequest

{ "payload": null }

Properties

NameTypeRequiredRestrictionsDescription
payloadanyfalsenonenone

Management.SendWebhookTestEventResponse

{ "success": true, "message": "string", "eventId": 0 }

Properties

NameTypeRequiredRestrictionsDescription
successbooleanfalsenonenone
messagestring¦nullfalsenonenone
eventIdinteger(int32)¦nullfalsenonenone

Management.UpdateWebhookSubscriptionDto

{ "name": "string", "eventType": "string", "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "maxRetryCount": 0, "isActive": true }

Properties

NameTypeRequiredRestrictionsDescription
namestring¦nullfalsenonenone
eventTypestring¦nullfalsenonenone
urlstring¦nullfalsenonenone
secretstring¦nullfalsenonenone
headersobject¦nullfalsenonenone
» additionalPropertiesstring¦nullfalsenonenone
maxRetryCountinteger(int32)¦nullfalsenonenone
isActiveboolean¦nullfalsenonenone

Management.UpdateWebhookSubscriptionRequest

{ "subscription": { "name": "string", "eventType": "string", "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "maxRetryCount": 0, "isActive": true } }

Properties

NameTypeRequiredRestrictionsDescription
subscriptionManagement.UpdateWebhookSubscriptionDtofalsenonenone

Management.UpdateWebhookSubscriptionResponse

{ "subscription": { "id": 0, "name": "string", "eventType": "string", "url": "string", "secret": "string", "maxRetryCount": 0, "isActive": true, "userId": "string", "headers": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "webhookEvents": [ { "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ] }, "success": true, "message": "string" }

Properties

NameTypeRequiredRestrictionsDescription
subscriptionManagement.WebhookSubscriptionfalsenonenone
successbooleanfalsenonenone
messagestring¦nullfalsenonenone

Management.WebhookEvent

{ "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }

Properties

NameTypeRequiredRestrictionsDescription
idinteger(int32)falsenonenone
webhookSubscriptionIdinteger(int32)falsenonenone
eventTypestring¦nullfalsenonenone
payloadstring¦nullfalsenonenone
statusCodeinteger(int32)¦nullfalsenonenone
responsestring¦nullfalsenonenone
errorMessagestring¦nullfalsenonenone
isSuccessboolean¦nullfalsenonenone
retryCountinteger(int32)falsenonenone
sentAtstring(date-time)¦nullfalsenonenone
nextRetryAtstring(date-time)¦nullfalsenonenone
createdAtstring(date-time)falsenonenone

Management.WebhookEventType

{ "name": "string", "description": "string" }

Properties

NameTypeRequiredRestrictionsDescription
namestring¦nullfalsenonenone
descriptionstring¦nullfalsenonenone

Management.WebhookSubscription

{ "id": 0, "name": "string", "eventType": "string", "url": "string", "secret": "string", "maxRetryCount": 0, "isActive": true, "userId": "string", "headers": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "webhookEvents": [ { "id": 0, "webhookSubscriptionId": 0, "eventType": "string", "payload": "string", "statusCode": 0, "response": "string", "errorMessage": "string", "isSuccess": true, "retryCount": 0, "sentAt": "2019-08-24T14:15:22Z", "nextRetryAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ] }

Properties

NameTypeRequiredRestrictionsDescription
idinteger(int32)falsenonenone
namestring¦nullfalsenonenone
eventTypestring¦nullfalsenonenone
urlstring¦nullfalsenonenone
secretstring¦nullfalsenonenone
maxRetryCountinteger(int32)falsenonenone
isActivebooleanfalsenonenone
userIdstring¦nullfalsenonenone
headersstring¦nullfalsenonenone
createdAtstring(date-time)¦nullfalsenonenone
updatedAtstring(date-time)¦nullfalsenonenone
webhookEvents[Management.WebhookEvent]¦nullfalsenonenone
Last updated on