Skip to content
Pitch2SaleDevelopers
Open the app
Early access: these pages are being written and reviewed. Facts in the header boxes come straight from the product.

Accept a proposal from the public page

POST
/api/v1/proposals/public/{token}/accept
curl --request POST \
--url https://api.pitch2sale.com/api/v1/proposals/public/example/accept \
--header 'Content-Type: application/json' \
--data '{ "full_name": "example", "signature_data": "example", "signer_email": "hello@example.com", "selections": [ { "id": "example", "selected": true, "quantity": 1 } ] }'

Unauthenticated. Records the signer’s typed full_name (and optional drawn signature and pricing selections); fails if the proposal was already accepted or declined.

token
required
string
Media typeapplication/json
object
full_name
required
string
>= 1 characters <= 200 characters
signature_data
string
<= 100000 characters
signer_email
string format: email
<= 255 characters
selections
Array<object>
<= 200 items
object
id
required
string
<= 100 characters
selected
boolean
quantity
number
<= 1000000
Examplegenerated
{
"full_name": "example",
"signature_data": "example",
"signer_email": "hello@example.com",
"selections": [
{
"id": "example",
"selected": true,
"quantity": 1
}
]
}

OK

Validation failed

Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example",
"code": "example"
}
]
}

Rate limit exceeded

Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example",
"code": "example"
}
]
}