Get Webhook Template

Get Webhook Template

Returns the specified webhook custom template

Request
URI
GET
https://vmc.vmware.com//api/notification/{orgId}/webhooks/{webhook}/template
COPY
Path Parameters
string
orgId
Required

Org ID

string
webhook
Required

Webhook identifier


Authentication
This operation uses the following authentication methods.
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
{
    "messages": {
        "args": [
            "string"
        ],
        "default_message": "string",
        "id": "string"
    },
    "type": "string"
}
messages
Optional

messages

string
type
Optional

type


401

Unauthorized

Returns WebhookTemplate of type(s) application/json
{
    "template": "string"
}
string
template
Optional

Payload template for the webhook notification.


403

Forbidden

Returns WebhookTemplate of type(s) application/json
{
    "template": "string"
}
string
template
Optional

Payload template for the webhook notification.


404

Not Found

Returns ErrorResponse of type(s) application/json
{
    "messages": {
        "args": [
            "string"
        ],
        "default_message": "string",
        "id": "string"
    },
    "type": "string"
}
messages
Optional

messages

string
type
Optional

type


500

Internal Server Error

Returns ErrorResponse of type(s) application/json
{
    "messages": {
        "args": [
            "string"
        ],
        "default_message": "string",
        "id": "string"
    },
    "type": "string"
}
messages
Optional

messages

string
type
Optional

type