Trigger e-signature
This endpoint triggers the e-signature process for a document. Once triggered, the status will change from "not-sent" to "sent" and no further modifications will be accepted.
Responses
-
200 application/json
Successfully triggered e-signature process
-
Bad Request -- Your request is invalid.
-
Unauthorized -- Your API key is wrong.
-
Forbidden -- The object requested is hidden for administrators only.
-
Not Found -- The specified object could not be found.
-
Too Many Requests -- You're requesting too many objects! Slow down!
-
Internal Server Error -- We had a problem with our server. Try again later.
-
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
POST
/trigger-sign
curl \
--request POST https://api.usecollect.com/v1/trigger-sign \
--header "Content-Type: application/json" \
--data '{"elementId":"JfcGWum37pXtd2Bsq"}'
Request example
{
"elementId": "JfcGWum37pXtd2Bsq"
}
Response examples (200)
{
"id": "JfcGWum37pXtd2Bsq",
"name": "Partnership Agreement with ACME Corp",
"type": "sign",
"order": 0,
"itemId": "a3qRLd684bWLt3a5s",
"status": "sent",
"request": {
"_id": "SP2DvMdB98mPB264c",
"campaignId": "SXwNhaTXzcjoYx9Ea"
},
"visibility": true,
"visibilityConditionnal": true
}