Postman Collection
The Ozzie Postman collection includes every API endpoint with pre-filled example requests and responses. It's organized in the same sequence as the recommended integration flow, so you can run through a complete user onboarding, plan generation, and chat session without writing any code.
Downloadβ
Download the Postman collection
The collection is a standard Postman v2.1 JSON file. It includes all endpoints as of the current API version.
Importing into Postmanβ
- Open Postman
- Click Import in the top-left corner
- Select File and choose the downloaded
ozzie-api.postman_collection.json - Click Import
The collection will appear in your left sidebar under Collections as Ozzie API.
Alternatively, you can import directly from a URL:
- Click Import
- Select Link
- Paste:
https://api.ozzieapp.com/postman/ozzie-api.postman_collection.json - Click Continue, then Import
After importing, also import the companion Ozzie API Environment to pre-configure all variables. Download it at: https://api.ozzieapp.com/postman/ozzie-api.postman_environment.json
Setting up environment variablesβ
The collection uses three environment variables that you must configure before making requests:
| Variable | Description | Example value |
|---|---|---|
BASE_URL | The ozzie-openapi base URL | https://api.ozzieapp.com/v1 |
TOKEN | Your base64-encoded client_id:client_secret | ozp_Y2xpZW50X2ExYjJjM2Q0... |
USER_ID | The Ozzie user ID to use in path parameters | usr_4f8a1b2c3d |
How to set themβ
- Click the Environment dropdown in the top-right corner of Postman
- Select Ozzie API (or No Environment β Add)
- Fill in the three variables above
- Click Save
To generate your TOKEN value, base64-encode your client_id:client_secret:
echo -n "ozz_client_a1b2c3d4:sk_live_xK9mP2qR7tL..." | base64
Paste the output as your TOKEN variable value.
You'll need to update USER_ID each time you want to test against a different user. The simplest workflow is to create a test user once via the POST /users request in the collection, copy the returned id, and paste it into USER_ID.
Collection structureβ
The collection is organized in the recommended API flow sequence:
ozzie-openapi
βββ 1. Users
β βββ Create user (POST /v1/users)
β βββ Get user (GET /v1/users/{user_id})
βββ 2. Financial Intake
β βββ Submit intake (POST /v1/users/{user_id}/financial-intake)
β βββ Get intake (GET /v1/users/{user_id}/financial-intake)
βββ 3. Personality
β βββ Get questions (GET /v1/personality/questions)
β βββ Score answers (POST /v1/personality/score)
βββ 4. Plan
β βββ Generate plan (POST /v1/users/{user_id}/plan/generate)
β βββ Get plan (GET /v1/users/{user_id}/plan)
βββ 5. Financial Profile
β βββ Get envelope allocations (GET /v1/users/{user_id}/financial-profile)
βββ 6. Chat
β βββ Chat completion (POST /v1/users/{user_id}/chat/completion)
βββ 7. Transactions
β βββ Parse transactions (POST /v1/transactions/parse)
βββ 8. Money Moves
βββ Generate weekly moves (POST /v1/money-moves/generate)
Each request includes:
- A pre-filled example request body with realistic values
- Pre-request scripts that automatically update
USER_IDfrom previous responses (in the onboarding sequence) - Test scripts that validate the response shape and status code
Running the full collectionβ
Use Postman's Collection Runner to execute all requests in sequence β simulating a complete user onboarding and interaction:
- Right-click the Ozzie API collection in the sidebar
- Click Run collection
- Set Iterations to
1 - Check Save responses
- Click Run Ozzie API
The runner will execute every request in order. The pre-request and test scripts handle extracting IDs from responses and passing them to subsequent requests automatically.
Use the Collection Runner to smoke-test your integration after updating your credentials or moving to a new environment. If all requests pass their test scripts, your setup is healthy.
Screenshotβ
Add a screenshot of the Postman collection sidebar here showing the folder structure.
Automated testingβ
The collection's test scripts can be run in CI/CD using Newman, Postman's command-line runner:
# Install Newman
npm install -g newman
# Run the collection
newman run ozzie-api.postman_collection.json \
--environment ozzie-api.postman_environment.json \
--reporters cli,junit \
--reporter-junit-export results.xml
This outputs a JUnit-compatible XML file you can attach to your CI pipeline (GitHub Actions, Jenkins, GitLab CI, etc.) for pass/fail reporting.
# Example: GitHub Actions step
- name: Run Ozzie API tests
run: |
newman run ozzie-api.postman_collection.json \
--environment ozzie-api.postman_environment.json \
--reporters cli,junit \
--reporter-junit-export test-results.xml
env:
OZZIE_TOKEN: ${{ secrets.OZZIE_TOKEN }}