POST
/v1/submissions/bulkSubmit a deal to several lenders at once
Submit one deal to up to 25 lenders in one call: each lender is routed and gated the way a single send is (a share to a linked Specter workspace, the package with the files in documentIds attached through the submission mailer to an address), each gets its own submission record, and each line says sent or refused, with the refusal's stable code beside its sentence. Use it for "send this deal to these lenders".
Access class: workspace.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Request body
application/jsonrequireddocumentIdsarray<string>optional
lenderIdsarray<string>required
merchantKeystringoptional
merchantStatestringoptional
notestringoptional
rowIdstringrequired
Responses
201application/json
the action's answer
{
"data": {
"failed": 1,
"requested": 1,
"results": [
{
"channel": "string",
"code": "string",
"delivery": "string",
"error": "string",
"lenderId": "",
"ok": "string",
"share": "string"
}
],
"sent": 1
}
}dataoptional
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired