Webhook Schemas
DeliveryTicketDTO
Example
1 2 3 4 5 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
delivery_tag | string(uuid) | false | - |
endpoint_id | string(uuid) | false | - |
url | string | false | - |
WebhookDeliveryDTO
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
delivery_id | string(uuid) | false | - |
event_id | string(uuid) | false | - |
endpoint_id | string(uuid) | false | - |
delivery | string(date-time) | false | - |
request_method | string | false | - |
request_headers | object | false | - |
request_body | object | false | - |
response_status | integer | false | - |
response_headers | object | false | - |
response_body | string | false | - |
elapsed_time | number | false | - |
WebhookEndpointCreateDTO
Example
1 2 3 4 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
url | string | false | The callback url for webhook events. |
event_filters | [string] | false | If not empty, only send event of types in the list. |
ssl_verification | boolean | true | Verify ssl certificate. Set this value to false only for testing. |
secret_key | string | true | The secret key to use for message signing. Leave it empty for randomly generated key. |
WebhookEndpointDTO
Example
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
id | string(uuid) | false | - |
url | string | false | - |
secrets | [WebhookSecretDTO] | true | - |
event_filters | [string] | true | - |
ssl_verification | boolean | false | - |
WebhookEndpointListingDTO
Example
1 2 3 4 5 6 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
id | string(uuid) | false | - |
url | string | false | - |
event_filters | [string] | true | - |
ssl_verification | boolean | false | - |
WebhookEndpointUpdateDTO
Example
1 2 3 4 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
url | string | false | The callback url for webhook events. |
event_filters | [string] | false | If not empty, only send event of types in the list. |
ssl_verification | boolean | true | Verify ssl certificate. Set this value to false only for testing. |
WebhookEventDTO
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
id | string(uuid) | false | - |
event_type | string | false | - |
data | object | false | - |
created_at | string(date-time) | false | - |
WebhookListingEventDTO
Example
1 2 3 4 5 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
id | string(uuid) | false | - |
event_type | string | false | - |
created_at | string(date-time) | false | - |
WebhookRotationDTO
Example
1 2 3 4 5 6 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
rotation_period | WebhookSecretRotationPeriod | false | "Define the rotation period in which old secret keys are still active. |
WebhookSecretDTO
Example
1 2 3 4 5 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
id | string(uuid) | false | - |
key | string | false | - |
expired_at | string(date-time) | true | - |
WebhookSecretRotationPeriod
"Define the rotation period in which old secret keys are still active.
Example
1 2 3 4 |
|
Properties
Name | Type | Optional | Description |
---|---|---|---|
days | integer | true | - |
hours | integer | true | - |