Skip to main content
GET
/
api
/
projects
/
{id}
/
pdf
Get Quote PDF
curl --request GET \
  --url https://qwoty.app/api/projects/{id}/pdf \
  --header 'Authorization: <authorization>'
(binary PDF file)

Authorization

Authorization
string
required
Bearer token for authentication. Format: Bearer qwoty_your_token

Path Parameters

id
string
required
UUID of the project

Query Parameters

force
boolean
default:"false"
Force PDF regeneration before download. Use true to bypass freshness checks.

Behavior

  • If the project is accepted and a signed PDF exists, the signed file is returned.
  • Otherwise, an unsigned PDF is returned (generated on demand if needed).
  • The response is a file download with application/pdf content type.

Examples

curl --request GET \
  --url "https://qwoty.app/api/projects/550e8400-e29b-41d4-a716-446655440000/pdf?force=false" \
  --header "Authorization: Bearer qwoty_your_token" \
  --output quote.pdf

Response

Content-Type
string
Always application/pdf on success.
Content-Disposition
string
Attachment filename. Example: quote-Q-2024-001.pdf or quote-Q-2024-001-signed.pdf.
(binary PDF file)