Skip to main content

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 collection

Set it up​

  1. Import the file. Use the Postman desktop app: the web client adds an Origin header, which the API refuses.
  2. Open the collection's Variables tab and set:
VariableValue
baseUrlhttps://staging-api-portal-nh.prospera.ai for the sandbox
apiKeyYour pk_live_… key
subjectEmailThe email of the person you are working with
userPasswordThe password that person typed, for the sign-in requests
  1. Run Sign-in & Sign-up → POST check-email, then the requests it points you to. Each one saves verificationToken, identityToken and subjectAccountId for the next.
  2. Run Terms of Service → POST accept.
  3. 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.