API Docs
General usage

Generic video upload

Generic video uploads are granted through account-level token access. Unlike other video uploads, generic video uploads do not associate with a video experience and are not linked to ChipBot.

Generic video uploads grant customers access to ChipBot’s Video APIs for their own purposes outside ChipBot. For pricing on usage and storage, please email support@getchipbot.com.

Authorization type: Account

Request Flow

There are three steps to uploading a video.

  1. Requesting a video service token. This tells us you’re authorized to use the ChipBot video service.
  2. Requesting a video upload token. This creates a job based on your specifications and returns a token.
  3. Uploading the video. Using the upload token from step 2, you can send a multi-part file straight to your utility API servers.

Request Examples

Video service token request

curl "https://getchipbot.com/api/v2/connect/accounts/{accountId}/videos/tokens" \
     -H 'Authorization: {token}'

Video upload request token request

curl -X "POST" "https://getchipbot.com/api/v2/utility/video-upload/request" \
     -H 'Authorization: {token}' \
     -d $'{
  "checksumMd5": "md5-of-file",
  "size": 12345,
  "data": {},
  "topic": "generic",
  "jobs": ['480p']
}'

Body payload

  • checksumMd5 : string – Must be an MD5 string of your entire file. This is used to verify the file after upload completion.
  • size : number – Size (in bytes) of the file being uploaded.
  • data : object – Use this to store extra meta data on the job request.
  • topic : string – Type of topic pipeline to use. Different topics lead to different job pipelines.
  • jobs : string[] – List of jobs to perform on the uploaded video. Available values: 480p, 720p, and 1080p.

Upload video

curl --form file='@filename' -X "POST" "https://getchipbot.com/api/v2/utility/video-upload?token={uploadToken}"

ChipBot



ChipBot Inc.
ChipBot iOS AppChipBot Android App
ChipBot, Inc.© 2024 ChipBot, Inc. All Rights Reserved.