Picovico API 2.7 allows applications to receive callback for few events. If any application is configured to receive the callback, please refer below for the payload structure and types of events where callback is received.

Callback Events

  • video.created - the video was created successfully
  • video.failed - video creation was failed due to some reasons
  • video.preview.created - video preview was created successfully
  • video.preview.failed - video preview creation was failed due to some reasons

The Callback Payload

{

   "type": "video.(created|failed|preview.created|preview.failed)",
    "created": "<timestamp>",
    "status": 200,
    "data": {
        "object": {
            "id": "",
            "video": [
                {
                    "quality": 144,
                    "url": "",
                    "size": "",
                    "thumbnail": {
                        "url": "",
                        "size": ""
                    }
                }
            ],
        },
        "meta": {
            "msg": "some readable message",
            "app_id": "<app_used>"
        }
    }
}


Request Information
Callback Method - POST
Content Type - application/json

Did this answer your question?