Deal Room Public
Sign
Click-to-sign the request a person sent: typed name and `accept: true`. Records the time and salted hashes of the IP and user agent, after checking the document's SHA-256. 409 `no_signature_request`, `already_signed` or `document_changed`.
API key access
This route has its own authentication (or none); an API key is not used here.
POST
/api/v1/public/deal-rooms/{token}/signPath Parameters
tokenstring
namestring
Length
1 <= length <= 200acceptboolean
Must be true.
Response Body
curl -X POST "http://localhost:8000/api/v1/public/deal-rooms/string/sign" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "accept": true }'{
"workspace_name": "string",
"deal_name": "string",
"company_name": "string",
"currency": "string",
"items": [
{
"name": "string",
"quantity": 0.1,
"unit_price": 0.1,
"total": 0.1
}
],
"subtotal": 0.1,
"discount_pct": 0.1,
"discount_amount": 0.1,
"total": 0.1,
"proposal": "string",
"plan": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"owner": "string",
"due_date": "2019-08-24",
"done": true,
"done_at": "2019-08-24T14:15:22Z",
"can_tick": true
}
],
"signature": {}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}