Postman collection
The collection holds every request in this API with a description, a ready-to-send body and example replies. Import it into Postman, Insomnia or Bruno.
Download the collectionSet it up
- Import the file. Use the Postman desktop app: the web client adds an
Originheader, which the API refuses. - Open the collection's Variables tab and set:
| Variable | Value |
|---|---|
baseUrl | https://staging-api-portal-nh.prospera.ai for the sandbox |
apiKey | Your pk_live_… key |
subjectEmail | The email of the person you are working with |
userPassword | The password that person typed, for the sign-in requests |
- Run Sign-in & Sign-up → POST check-email, then the requests it points you to. Each one saves
verificationToken,identityTokenandsubjectAccountIdfor the next. - Run Terms of Service → POST accept.
- Send anything else.
What is in it
The folders follow the API reference. The two flows are laid out in the order you call them:
- Sign-in & Sign-up: check-email, sign-in with its code steps, the sign-up steps, locations, password reset.
- Lab Uploads: ask for a link, send the file, complete, follow the status. The upload link and id are saved between the steps.
For production, the requests that send a verification code carry an X-Recaptcha-Token header that is switched off. Switch it on and set the recaptchaToken variable; see bot protection. The sandbox needs no token.
A script on the collection refuses to send while baseUrl, apiKey or subjectEmail is empty, and checks every reply: no server error, JSON unless it is a file or a stream.