Skip to main content
This walk-through uses a test key and one of your test accounts, so nothing touches real claims and nothing is billed. You need:
  • your osa_test_ key, sent by OSA through a one-time link;
  • the sign-in for one of your test accounts, and the OSA app from the App Store. OSA sends your organisation the test accounts and their passwords; if you don’t have one, ask whoever in your organisation received them.
If you send roof measurements for ESX files, the claims steps here do not apply: your key needs only esx-exports:create and esx-exports:read. Start with ESX exports.
Keep keys on your servers. Never put an API key in a browser, a mobile app, or source control.
1

Check your key

The response shows your partner account (partner), "environment": "test", and the key’s scopes (its permissions).
2

Find your test accounts

A test key lists only your test accounts. Copy the osa_id of one with "status": "active".
3

Send a claim

You get 201 Created with OSA’s claim id, your external_id, "test": true, and "assignment": { "status": "pending_acceptance", … }.If the call times out, send exactly the same request again with the same Idempotency-Key: run the curl again without the first line. You get 201 with the claim’s current state, and no second claim is created.
4

Accept it in the app

Sign in to the OSA app as the test account. The claim is in Incoming, marked TEST. Tap Accept.
5

See the acceptance

The claim’s assignment now shows "status": "accepted" and a responded_at time. In production you would run this poll every few minutes; see Polling.

Next steps