GET
/v1/customers/{applicationAccountIdentifier}/entitlementsRead application account entitlements
Returns the aggregate entitlements linked to an application account. This endpoint requires an application API credential with entitlements:read.
Authentication: BearerRequired scope:
entitlements:readParameters
applicationAccountIdentifierpathRequiredA stable customer identifier from the developer's application.
Responses
200The application account and its current entitlements.
applicationAccountIdentifierRequiredstringcustomerIdentifiersRequiredstring · uuid[]applicationIdentifierRequiredstring · uuidentitlementsRequiredCustomerEntitlement[]400The request body, parameter, or verified store payload is invalid.
errorRequiredstringA stable machine-readable error code.
401The application API credential is missing or invalid.
errorRequiredstringA stable machine-readable error code.
403The application API credential does not include the required scope.
errorRequiredstringA stable machine-readable error code.
Request example
cURL
curl 'https://api.purpl.sh/v1/customers/user-123/entitlements' \
--header 'Authorization: Bearer <application-api-credential>'