Skip to Content
Prets Developer Portal

Create a session URL for an existing quote

POST
/v1/quotes/{quoteId}/sessions

to try read requests with your account, or paste an API key into the Authorization field. Create an API key in the Partner Portal.

Creates a link that signs in the quote's consumer and resumes their financing application. Use it to send the consumer back into the flow, for example from your own email or app.

Returns the quote id and the link in links.session. The link works once and expires after 24 hours. Returns 400 when the quote's contact has no email address, and 404 when the quote does not exist or is not visible to you.

Path Parameters

quoteId*string

Quote to create a consumer session for

Match^qot_[0-9A-HJKMNP-TV-Z]{26}$

Response Body

A single-use consumer session URL for the quote

application/json
  1. response

Created quote session handoff

data*

Quote the minted session resumes

links*

Session handoff links

Authorization

bearerAuth
headerAuthorizationBearer <token>
Example Request
curl -X POST 'https://api.prets.app/v1/quotes/qot_01ARZ3NDEKTSV4RRFFQ69G5FAV/sessions'
Example Response
{  "data": {    "quoteId": "qot_01ARZ3NDEKTSV4RRFFQ69G5FAV"  },  "links": {    "session": "https://app.example/r/01ARZ3NDEKTSV4RRFFQ69G5FAV"  }}