Getting Started
Quickstart
Get started with Journey API in 5 minutes
Start making API calls in 5 minutes.
1. Get Authentication Credentials
For Members API
- Sign up at Journey Dashboard
- Obtain Clerk JWT token via OAuth/Email/Phone
- Call
/members/me/auth/validateto provision member
For Admin API
- Request admin access from Journey team
- Configure WorkOS SSO integration
- Obtain WorkOS JWT token
For Core Platform server integrations
- Choose the
/partner,/admin, or/internalsurface for the caller. - Obtain the corresponding WorkOS token, admin credential, or bounded service credential from Journey.
- Confirm the credential's organization and permission grants.
- Add a stable
Idempotency-Keyto every mutation.
Never place an internal service credential in browser code. HXP3 and other operator applications call Core from their authorized server boundary.
2. Make Your First Request
const response = await fetch('https://api.journey.com/members/me', {
headers: {
'Authorization': `Bearer ${clerkToken}`,
'Content-Type': 'application/json'
}
});
const member = await response.json();
console.log('Member:', member);3. Install Bruno for Testing
# Install Bruno
brew install bruno
# Clone API repository
git clone https://github.com/Journey-Rewards/api.git
# Open Bruno collection
bruno open api/bruno4. Common Workflows
Member Provisioning Flow
// Step 1: Validate and provision
await fetch('/members/me/auth/validate', {
method: 'POST',
headers: { 'Authorization': `Bearer ${token}` }
});
// Step 2: Update profile
await fetch('/members/me', {
method: 'PATCH',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
firstName: 'John',
lastName: 'Doe',
onboardingCompleted: true
})
});
// Step 3: Get complete member data
const member = await fetch('/members/me', {
headers: { 'Authorization': `Bearer ${token}` }
});Next Steps
- Authentication Guide
- Members API Reference
- Admin API Reference
- Core Platform API
- Core server integration guide
- Bruno Setup Guide