Video Message Callback
Revision as of 15:06, 21 July 2026 by Ashley DeBon (talk | contribs) (Created page with "== Video Message Callback == === Base URL === https://apimobile.callproof.com === Endpoint === /api/videomessage-callback === Purpose === Webhook callback used by the video...")
Contents
Video Message Callback
Base URL
https://apimobile.callproof.com
Endpoint
/api/videomessage-callback
Purpose
Webhook callback used by the video messaging provider (Zego) after a stream/recording completes. The API stores the callback payload, creates the related video message for the room, optionally generates a GIF preview, and sends email/push notifications to room members.
HTTP Method
POST
Headers
| Header | Required | Description |
|---|---|---|
| Content-Type | Recommended | Typically application/x-www-form-urlencoded (provider callback)
|
Security
- No – Public callback endpoint (not under Bearer Token middleware).
Parameters
Path Parameters
None.
Query Parameters
None.
Request Body
Provider callback fields consumed by the API:
| Parameter | Type | Required | Description |
|---|---|---|---|
| stream_alias | string | Yes | Stream alias in the form {room_id}_{created_user_id}_...; used to resolve room and creator
|
| appid | string/integer | Yes | Provider application ID |
| begin_time | string/integer | No* | Stream/recording begin time |
| end_time | string/integer | No* | Stream/recording end time |
| nonce | string | No* | Provider nonce |
| replay_url | string | No* | Playback/replay URL for the recorded video |
| signature | string | No* | Provider signature |
| stream_id | string | No* | Provider stream ID |
| timestamp | string/integer | No* | Provider timestamp |
| extra_params | string (JSON) | No* | JSON object that includes Duration (used for duration/GIF generation)
|
\*These fields are read and stored when present as part of a successful callback payload.
Successful Response (200)
Indicates that the callback was accepted/stored successfully.
| Field | Type | Description |
|---|---|---|
| clientStatusCode | integer | Status indicator for the client (for example, 200) |
| message | string | Confirmation message (for example, "Callback response stored successfully.") |
| uri | string | Requested resource URI |
Error Responses
| Status Code | Meaning |
|---|---|
| 400 | Bad Request – callback could not be processed/stored |
- 400 – Missing/invalid callback data, invalid
stream_aliasroom/user IDs, or another processing error (for example, "Error while storing video message response").