Authentication
Sylq uses API keys to authenticate requests. Sylq will be provided you two API key credentials, one for Staging and one for Production.
Try it out (test connectivity and Auth with the API)
You can test that the credentials are working correctly with the https://staging.sylq.io/api/test
endpoint, here is an example of a curl
request:
curl "https://staging.sylq.io/api/test" \
-H 'Authorization: Bearer YOUR_API_TOKEN'
Response:
Status: 200 OK
If the result of the call is 200
, the validation has been successful, a 401
is that you have entered the credentials incorrectly or you do not have access.