Authentication

The API uses header-based authentication. All webhook management requests require authentication headers.

Authentication method

X-Joy-Loyalty-App-Key: your_app_key_here
X-Joy-Loyalty-Secret-Key: your_secret_key_here
circle-exclamation

Authentication rules

  • X-Joy-Loyalty-Secret-Key is always required

  • X-Joy-Loyalty-App-Key is required

Authentication example

curl -X GET "https://joy.avada.io/app/api/v1/webhooks" \
  -H "X-Joy-Loyalty-App-Key: your_app_key" \
  -H "X-Joy-Loyalty-Secret-Key: your_secret_key" \
  -H "Content-Type: application/json"

Response format

All API responses follow a consistent envelope structure:

Success response

Error response

Last updated