Get webhook info

Retrieve the currently registered webhook for the authenticated account along with the most recent delivery logs. Each log entry contains the event payload sent, the response received from the webhook URL, the HTTP status code, and the timestamp of the attempt — useful for debugging delivery failures.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /user/webhook

Retrieve the currently registered webhook for the authenticated account along with the most recent delivery logs. Each log entry contains the event payload sent, the response received from the webhook URL, the HTTP status code, and the timestamp of the attempt — useful for debugging delivery failures.

📘

Authorization

Requires a valid Panda API key in the Authorization header. The webhook returned belongs to the organization that owns the API key.

HTTP Method & Path

GET /user/webhook

Base URL: https://api-v2.pandavideo.com

Authentication Requirements

  • Security Scheme: PandaAuth (apiKey)
  • Header: Authorization: <your_api_token> (no Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Request Body

No request body is required.

Response

Success Response (200)

Returns the registered webhook and an array of the most recent delivery attempts:

{
  "webhook": {
    "id": "2f4460cc-98b1-49bb-a421-39baefc0636c",
    "url": "https://webhook.site/015fa4be-3a76-4819-90f3-89ae0b5b3914"
  },
  "logs": [
    {
      "code": 404,
      "request": {
        "action": "aiworkflow.update",
        "workId": "02b4ef54-a4fc-4b23-be74-e556d693d3ca",
        "type": "MINDMAP",
        "video_id": "c6a2507a-a80e-4e2a-bd91-0a921bf38e9d",
        "folder_id": null,
        "status": "FINISHED"
      },
      "date": "2026-05-25T21:20:10.673Z",
      "url": "https://webhook.site/7cff4f29-c926-4698-a196-7f8ab1493793",
      "response": {
        "success": false,
        "error": {
          "message": "Token \"7cff4f29-c926-4698-a196-7f8ab1493793\" not found",
          "id": ""
        }
      }
    }
  ]
}

Response Schema

webhook

The currently registered webhook for the account:

FieldTypeDescription
webhook.idstring (uuid)Unique ID of the webhook
webhook.urlstringCurrent URL that receives the events

logs

Array of the most recent delivery attempts. Each entry contains:

FieldTypeDescription
codeintegerHTTP status code returned by the webhook URL
datestring (ISO 8601)Timestamp of the delivery attempt
urlstringURL the event was delivered to at the time of the attempt
requestobjectPayload sent by Panda Video. Shape varies by event type; common fields include action, workId, type, video_id, folder_id, status
responseobjectResponse body returned by the webhook URL. Shape varies depending on the receiver
📘

The logs array reflects the most recent attempts only — older delivery records are rotated out. Use the code and response fields to debug failed deliveries.

Error Responses

  • 401 Unauthorized: API token inválido ou ausente
  • 403 Forbidden: Token sem permissão para acessar este recurso
  • 404 Not Found: Nenhum webhook registrado para a conta
  • 500 Internal Server Error: Erro no servidor

Example Usage

cURL

curl -X GET \
  'https://api-v2.pandavideo.com/user/webhook' \
  -H 'Authorization: your_api_token_here'
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json