Hello, I have a Self-hosted retool on the Business plan.
I'm trying to execute this CURL request to get an embed URL.
curl -i -v -X POST "https://mydomain.com/api/embed-url/external-user" \
-H "Authorization: Bearer XXXXX" \
-H "Content-Type: application/json" \
-d '{ "landingPageUuid": XXXX, "groupIds": [X], "externalIdentifier": XXXX }'
I've copied the App UID
I created an API key as seen below
I'm trying to authenticate this user that has access to the page we see
I'm not reusing the URL. This is a fresh request for a new Embed URL.
But I'm getting a 401 Unathorized
{"error":true,"message":"Unauthorized"}
Please help!