Get Webhook Template
Returns the specified webhook custom template
Request
URI
GET
https://{api_host}/api/notification/{orgId}/webhooks/{webhook}/template
COPY
Path Parameters
string
orgId
Required
Org ID
string
webhook
Required
Webhook identifier
Responses
200
OK
Returns
WebhookTemplate
of type(s)
application/json
{
"template": "string"
}
string
template
Optional
Payload template for the webhook notification.
400
Bad Request
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
object
messages
Optional
Message of Error
string
type
Optional
type
401
Unauthorized
Returns
WebhookTemplate
of type(s)
application/json
"WebhookTemplate Object"
string
template
Optional
Payload template for the webhook notification.
403
Forbidden
Returns
WebhookTemplate
of type(s)
application/json
"WebhookTemplate Object"
string
template
Optional
Payload template for the webhook notification.
404
Not Found
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
object
messages
Optional
Message of Error
string
type
Optional
type
500
Internal Server Error
Returns
ErrorResponse
of type(s)
application/json
"ErrorResponse Object"
object
messages
Optional
Message of Error
string
type
Optional
type
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/notification/{orgId}/webhooks/{webhook}/template