Proposals
Send Proposal Sign-in Code
Emails the customer of a proposal a six-digit code to sign in with, so an existing customer can accept it without leaving the page.
POST
Send Proposal Sign-in Code
Send Proposal Sign-in Code
When Proposal Login answersmustSignIn: true, the proposal is for a customer who already has an account and is not signed in. This endpoint emails that customer the SignInCode email: a six-digit code to send back to Proposal Login, and a link that signs them in and brings them back to returnUrl. See Sign-in Codes.
The code goes to the address on the proposal’s customer account, never to an address the caller chooses.
Authentication
No authentication required. At most 5 code emails go to one account in 15 minutes.Path Parameters
string
required
The unique string identifier (GUID) of the proposal.
Query Parameters
string
default:"/"
The page the email’s link brings the customer back to, normally the proposal page itself. Only a path on the portal is used; anything else falls back to
/.Response
boolean
true when the email went out.string
The address it went to, masked (
j•••@example.com), so the page can say where to look without disclosing whose proposal it is.Errors
A
404 comes from a proposal that is not this location’s, or from a platform version without codes. The portal treats both, and TWO_FACTOR_REQUIRED, by sending the customer to the sign-in page.