Manual
CLI
API
Log in Get started free

List webhooks

Lists the webhooks of a project.

Lists the webhooks of a project.

HTTP
GET /projects/{projectId}/webhooks

Access: Session token only. API keys get 403 with insufficient_scope.

Role: Project manager (organisation owners and admins are managers of every project).

Path parameters #

ParameterDescription
projectIdThe id of the project.

Response 200 #

A list of webhooks.

JSON
[
{
  "id": "0197a3c7-5e64-7b55-98ac-0c4f6d1b3e75",
  "url": "https://example.com/hooks/translations",
  "events": "All events",
  "lastStatus": 200,
  "ok": true,
  "lastTriggeredMinutes": 30
}
]

Response fields #

FieldTypeDescription
idstringThe id of the webhook.
urlstringWhere requests are sent.
eventsstringThe event it listens to, or All events.
lastStatusinteger or nullThe HTTP status of the last delivery.
okbooleanWhether the last delivery worked. true when there was none yet.
lastTriggeredMinutesinteger or nullMinutes since the last delivery.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
404not_foundThe project does not exist in your organisation, you have no access to it, or projectId is not a UUID.
403forbiddenYou are a member of the project, but not a manager.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.

Notes #

For what a delivery looks like, see Webhooks.