The ContentGroove Developer API enables you to add the power of ContentGroove’s video AI to your own applications and workflows.
Webhooks are a way for ContentGroove to send video information to your application, to update your system and/or trigger other business processes.
You can use Webhooks and the Developer API separately or together.
Webhooks, also known as callbacks, are a way for ContentGroove to notify your application as soon as possible after an event has occurred in ContentGroove. For example after a media completes processing, ContentGroove can use a webhook to notify your application with information about the video: Suggested clips, transcription, and so on. You can use the information sent to update your system and/or use the webhook to trigger other business processes.
The webhook request is sent as an HTTP POST containing a payload of JSON-formatted data. For the details of the payload format see the “CALLBACKS” sections below.
When your application receives the webhook request, it must respond with a 200 HTTP status code (success). If a 200 HTTP status code is not returned, ContentGroove will assume that the webhook was not delivered and will retry a limited number of times, using an exponential backoff algorithm.
ContentGroove makes a best effort to attempt to send the webhook at least once. Applications receiving webhooks must tolerate the possibility of a single webhook payload being sent more than once (idempotent behavior). Applications receiving webhooks should tolerate the possibility that a webhook could not be delivered (for example your application was down when delivery was attempted).
⚠️ IMPORTANT: This API Key is intended only for use on the server side. Be sure never to use a server-side API Key in client-side (web, mobile, or otherwise) code. ⚠️
source_url
parameter. ContentGroove will fetch the video or audio from the URL if possible.The following is a comprehensive list of the status codes you may receive while using the ContentGroove API:
curl -T /path/to/file upload_url
At this time, file uploads are limited to 5gb per file.
Video:
Audio:
You can use the API Key to authenticate your API requests using any of these methods. (Replace abc123 with your actual API Key.)
Authorization: Bearer abc123
X-API-KEY: abc123
api_key=abc123
⚠️ IMPORTANT: This API Key is intended only for use on the server side. Be sure never to use a server-side API Key in client-side (web, mobile, or otherwise) code. ⚠️
Use this page to mock ContentGroove API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of ContentGroove API, which will allow you to keep building and testing even if the actual API you isn't currently available.