Skip to main content
GET
/
external
/
v1
/
verify-access
curl -X GET "https://api.boble.app/external/v1/verify-access?email=user@example.com&promotionId=UUID" \
     -H "Authorization: Basic $(echo -n 'CLIENT_KEY:CLIENT_SECRET' | base64)"
{
  "success": true,
  "data": {
    "hasAccess": true,
    "status": "active",
    "promotion": {
      "id": "UUID",
      "title": "My Product"
    }
  }
}
Uses HTTP Basic Auth — pass your clientKey as username and clientSecret as password, encoded in base64.
Never expose your clientSecret in client-side code. Use server-side environment variables.

Query parameters

email
string
required
The user’s email address to check
promotionId
string
required
The promotion or product UUID

Response

success
boolean
Indicates if the request was successful
data
object
curl -X GET "https://api.boble.app/external/v1/verify-access?email=user@example.com&promotionId=UUID" \
     -H "Authorization: Basic $(echo -n 'CLIENT_KEY:CLIENT_SECRET' | base64)"
{
  "success": true,
  "data": {
    "hasAccess": true,
    "status": "active",
    "promotion": {
      "id": "UUID",
      "title": "My Product"
    }
  }
}