Get a customer profile
Fetch Feature access and signed Experience delivery state.
https://i.nuxie.ai/profileFetch a customer’s Feature access and Experience delivery state. The SDK uses this profile to find Experiences the customer can run and verifies each signed release before displaying it.
Request
If-None-MatchheaderstringThe complete ETag from the previous response, including its quotes. An unchanged profile returns 304 with no body.
apiKeybodystringrequiredPublishable key for the app platform. A pk_test_ key selects test data; a pk_live_ key selects live data. Copy it from Connect your app.
distinct_idbodystringrequiredThe identified or anonymous customer ID your app supplies to the SDK, rather than Nuxie’s internal customer record ID. See Customer identifiers.
Response
schemaVersionstringrequirednuxie.journey-plane-profile.v2.
statusstringrequiredok.
deliveryobjectrequiredBase URLs for rendering Experiences and loading assets.
Delivery fields
renderBaseUrlstringrequiredBase URL for Experience rendering.
assetBaseUrlstringrequiredBase URL for Experience assets.
featuresobject[]requiredActive Features that apply to this platform.
Feature fields
idstringrequiredPublished Feature key.
typestringrequiredboolean, metered, or creditSystem.
balancenumberrequiredRemaining units, or null for Boolean or unlimited access.
unlimitedbooleanrequiredWhether usage is unlimited.
nextResetAtnullrequiredReset metadata.
intervalnullrequiredInterval metadata.
factsobjectrequiredCustomer properties, Segment memberships, and Experiment assignments.
armedLegsobject[]requiredNew or continuing Journey sections available to run.
releasesobject[]requiredSigned Experience content for those sections.
A customer without an available Experience can receive empty armedLegs and releases arrays. Use Check Feature access to evaluate a specific required balance and Consume Feature usage to spend units.
Caching and response headers
| Header | Meaning |
|---|---|
ETag |
Validator for this exact response body |
Cache-Control |
private, no-cache; revalidate a stored response before using it |
Nuxie-App-Id |
Platform ID associated with the publishable key |
Nuxie-App-Environment |
test or live |
X-Request-Id |
Request identifier for troubleshooting |
A 304 response has no body. Keep the previous profile and use the returned headers. Copy the complete ETag, including its quotes, into If-None-Match.
Profile requests from the SDK also update the connection status in Connect your app.