Webhooks

URL base: https://webvyze.com/api/v1 · haz clic en una ruta para ver alcance, parámetros, ejemplo y respuestas.

POST/sites/{site}/deploy-hookCreate the deploy hook of a site (returns its URL once)

Needs a token with api:write. Needs the sites.manage permission in the account.

Alcance
api:write
Parámetros de ruta
{site} integer
Respuestas
200401402403422429
curl -X POST -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/sites/{site}/deploy-hook
Enlace a esta ruta
DELETE/sites/{site}/deploy-hookRemove the deploy hook of a site

Needs a token with api:write. Needs the sites.manage permission in the account.

Alcance
api:write
Parámetros de ruta
{site} integer
Respuestas
200401402403422429
curl -X DELETE -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/sites/{site}/deploy-hook
Enlace a esta ruta
GET/webhooksWebhooks of the account

Needs access to the site, when there is one.

Alcance
api:read
Respuestas
200401402403422429
curl -H "Authorization: Bearer $WEBVYZE_KEY" \
  https://webvyze.com/api/v1/webhooks
Enlace a esta ruta
POST/webhooksAdd a webhook

Needs a token with api:write. Needs the integrations.manage permission in the account.

Alcance
api:write
Respuestas
200401402403422429
curl -X POST -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/webhooks
Enlace a esta ruta
DELETE/webhooks/{webhook}Remove a webhook

Needs a token with api:write. Needs the integrations.manage permission in the account.

Alcance
api:write
Parámetros de ruta
{webhook} integer
Respuestas
200401402403422429
curl -X DELETE -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/webhooks/{webhook}
Enlace a esta ruta
POST/webhooks/{webhook}/testSend a test event (and approve a pending webhook)

Needs a token with api:write. Needs the integrations.manage permission in the account.

Alcance
api:write
Parámetros de ruta
{webhook} integer
Respuestas
200401402403422429
curl -X POST -H "Authorization: Bearer $WEBVYZE_KEY" \
  -H "Content-Type: application/json" -d '{}' \
  https://webvyze.com/api/v1/webhooks/{webhook}/test
Enlace a esta ruta