Skip to main content

Testing

After configuring your API key, you can quickly verify access to the Kadeck Public API by calling the /test endpoint.


Test Request

curl --location 'https://your-instance.com/public/v1/test' \
--header 'Authorization: Bearer <your-api-key>'

Replace <your-api-key> with your actual API key.


Successful Response

A successful authentication will return:

Hello from Kadeck's Public API!

The HTTP status code will be:

200 OK

Troubleshooting

  • 401 Unauthorized:
    • The API key is missing, invalid, or incorrectly formatted.
  • 403 Forbidden:
    • The API key does not have permission for the requested resource.

Ensure that the API key is active, properly assigned, and included in the Authorization header.