Shop

Shop information and authentication

Get shop information

get

Retrieve safe shop information for the authenticated shop

Header parameters
X-Joy-Loyalty-App-KeystringRequired

App ID of your shop which retrieved from the Settings page

Example: {{appKey}}
X-Joy-Loyalty-Secret-KeystringRequired

Secret Key of your shop which retrieved from the Settings page

Example: {{secretKey}}
Responses
200

Shop information

application/json
Responseall of
get
GET /rest_api/v2/whoami HTTP/1.1
Host: dev-api.joy.so
X-Joy-Loyalty-App-Key: text
X-Joy-Loyalty-Secret-Key: text
Accept: */*
200

Shop information

{
  "success": true,
  "data": {
    "id": "text",
    "name": "text",
    "domain": "text",
    "email": "text",
    "plan": "text",
    "currency": "text",
    "timezone": "text",
    "countryCode": "text",
    "isInstalled": true,
    "createdAt": "2025-10-04T00:09:23.410Z",
    "updatedAt": "2025-10-04T00:09:23.410Z"
  },
  "meta": {},
  "message": "Operation completed successfully",
  "timestamp": "2023-07-28T07:27:54.123Z"
}