Skip to content

Bulk export deals to PDF (SSE stream)

POST
/api/pipeline/deals/bulk/export
curl --request POST \
--url https://example.com/api/pipeline/deals/bulk/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "deal_ids": [ "example" ], "format": "pdf" }'
Media type application/json
BulkExportRequest
object
deal_ids
required
Deal Ids
Array<string>
>= 1 items <= 20 items
format
Format
string
default: pdf
Allowed value: pdf

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}