Skip to main content

Get Tags from Webhook

Endpoint: GET /api/metadata/webhook/{id}/tags

Retrieves the tags associated with a webhook.

Path parameters

ParamaeterDescriptionTypeRequired
idThe unique identifier of the webhook from which the tags are to be retrieved.stringRequired.

Response

Returns an array of tag objects, each containing a key-value pair.

Examples

Get tags from a webhook

Request

curl -X 'GET' \
'https://<YOUR-SERVER-URL>/api/metadata/webhook/897f37a7-f2a4-11f0-97ee-8e75126ccff4/tags' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>'

Response

[
{
"key": "frontend",
"value": "PR"
}
]