Welcome Apps REST API

App Notification Settings

Want to know when new assets are added to your account? We can notifty you personally or programatically.

Email Notification
Webhooks
Slack
Zapier

Email Notifications

Add an email address to this box to be notified whenever a user publishes a video using this camera. (you can send to multiple adresses by seprating them with a semicolon)

Webhooks

After a recording has been published it can take several seconds for your videos and thumbnails to be available. If you try to access the video or thumbnail URLs before they are finshed processing you will be served a placeholder image and/or thumbnail instead. If you need to be notified as to when axactly a video has finished processing you can use your CameraTag's server webhoook integration. As processing completes we will POST to a specified URL on your server with a JSON representation of your recording. Below is an example of a JSON representation of a recording that will be POSTed to your server:
{
  "uuid": "v-90b2d479-011d-449f-ba6c-f7854882aa81",
  "preview_thumbnail_url": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/vga_thumb.jpg",
  "preview_full_thumbnail_url": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/vga_thumb.jpg",
  "preview_mp4_url": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/Testeroo.mp4",
  "preview_webm_url": "http://static.cameratag.com/processing.mp4",
  "state": "deleted",
  "name": "",
  "description": "",
  "type": "Video",
  "ad_server_type": null,
  "ad_server_url": null,
  "params": null,
  "app_uuid": "63f9c870-72c4-0130-04c5-123139045d73",
  "medias": {
    "vga_thumb": {
      "width": 1280,
      "height": 720,
      "length": null,
      "media_type": "thumb",
      "name": "vga_thumb",
      "state": "DELETED",
      "urls": {
        "cameratag": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/vga_thumb.jpg"
      }
    },
    "vga_filmstrip": {
      "width": 1280,
      "height": 720,
      "length": null,
      "media_type": "filmstrip",
      "name": "vga_filmstrip",
      "state": "DELETED",
      "urls": {
        "cameratag": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/vga_filmstrip.jpg"
      }
    },
    "Testeroo": {
      "width": 1280,
      "height": 720,
      "length": 15,
      "media_type": "mp4",
      "name": "Testeroo",
      "state": "DELETED",
      "urls": {
        "cameratag": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/Testeroo.mp4"
      }
    },
    "Original": {
      "width": null,
      "height": null,
      "length": null,
      "media_type": "original",
      "name": "Original",
      "state": "DELETED",
      "urls": {
        "cameratag": "https://staging.cameratag.com/assets/v-90b2d479-011d-449f-ba6c-f7854882aa81/Original.flv"
      }
    }
  }
}
Please note that the JSON repsonse is passed in the body of the POST and not as form parameters. Here is an example of how you would parse the response in ruby:
data = JSON.parse(request.raw_post)
video_uuid = data["uuid"]

Email Notifications

You can have CameraTag notify one of your slack channels every time an asset is created on the system. To activate this integratiuon you will need generate webhook URL in slack that we can use to post message. (see slacks docs on generating a webhook URL)

Zapier

Need to connect CameraTag to something else? Zapier can help you connet CameraTag outpouts to hundreds of other products. Just enable the integration and follow the OAuth instructions on Zapier to create your first Zap!