Hi,
I’ve just tried to use the endpoint for clients (https://developer.clockify.me/api/v1/workspaces/{workspaceId}/clients) with my addon token, but it returns a cors error followed by a status 405.
Here is the redacted fetch that I used for clarity:
const response = await fetch(`https://developer.clockify.me/v1/workspaces/${workspaceId}/clients`, {
headers: {
"X-Addon-Token": authToken,
},
});