Problems with new "Image Capture Widget"

Hi @sloschitzki,

The endpoint allows you to get newly signed links to images stored in Tulip, which will last an additional three hours. You can pass in an array of image URLs and will receive an array output of these newly signed links.

Below is an example of me using the endpoint for a single image:

The endpoint is /signURLs, which you can read more about at <your-instance>.tulip.co/apidocs or <your-instance>.dmgmori-tulip.com/apidocs. I’m passing in a single image URL that I’ve captured from an app and has expired.

For the request body, the endpoint expects a root object that contains an array called urls. Here you can pass in multiple image links. The API docs give the following example, but I’ve used the JSON content type to structure this a bit more easily.

{
  "urls": [
    "https://s3.amazonaws.com/tulip/logo.png",
    "https://tulip.co"
  ]
}

Testing this function returns me an object contained an array called signedURLs, corresponding to the links I’ve passed in. These links can then be used to access the image.

Let me know if you have any questions!