GET
/
webhooks
Retrieve all webhooks
curl --request GET \
  --url https://api.argil.ai/v1/webhooks \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "callbackUrl": "<string>",
    "events": [
      "AVATAR_TRAINING_SUCCESS"
    ],
    "createAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "lastTriggeredAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-api-key
string
header
required

API key to be included in the x-api-key header

Response

An array of webhooks

id
string<uuid>
callbackUrl
string
events
enum<string>[]

List of events the webhook is subscribing to.

Minimum length: 1
createAt
string<date-time>
updatedAt
string<date-time>
lastTriggeredAt
string<date-time>