0
votes

I want to use the Clockify API together with Apple Siri Shortcuts. How can i make a request with a X-API-Key Authentication?

Here my try: Screenshot from Apple Workflow

The result is: "Full authentication is required to access this resource"

Thanks a lot for your help!

1

1 Answers

0
votes

You should not use "Variables/Set variable" component for your apikey in Siri Shortcuts. In your "Network" component paste you apikey directly into Headers section with "X-Api-Key" header name and it will work.

On screenshot provided you are trying to use URL path for getting user data and POST method configuration. It will not work. That URL path works only for GET requests. If you plan to use POST method see Clockify API documentation for correct URL paths.