Can't use Wistia as integration field endpoint

I've tried to set up the integration field to pull data from Wistia but I get a 401 Unauthorized error:

I can see in the docs here that it's recommended to host videos on a dedicated platform like this and use the integration field to pull the date. Wistia is also specifically mentioned in this comment.

I've generated an API key in Wistia and used https://api.wistia.com/v1/medias.json as described in the Wistia docs. It works when I make the request in Postman.

I provided the same endpoint URL and API key to the integration field setup but then get the 401 error.

How can I get this to work?

Hello @sean

Thanks for reaching out to us.

Prismic's Integration Fields allow you to integrate third-party data — such as from e-commerce catalogs or custom APIs — into your repository. And your Custom API format must be compatible with Integration Fields. To learn more about Custom API Format.

Wistia is a Video hosting platform where you can host your video you can then embed them in your document using the Embed field.

Let me know if you have any other questions.

Thanks,
Priyanka

@Priyanka I'm afraid that doesn't answer my question. My question was not what is an integration field (or Wistia), but how can I get it to work? Since when I tried, I got an Unauthorized error in Prismic, even though I provided the API key from Wistia (and I can successfully make the request in another application).

Hello @sean

Prismic doesn’t support wistia integration directly. You need to use some connector or middleware to convert the data in Prismic’s Integration field compatible format.

Let me know if you have any other questions.

Thanks,

Priyanka