{
"input": "https://example.com/document.pdf",
"password": "secret123"
}
curl -X POST https://api.ringbee.dev/v1/document/pdf-protect \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "password=secret123"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}Document
PDF Protect
Add password protection to a PDF document
POST
/
v1
/
document
/
pdf-protect
{
"input": "https://example.com/document.pdf",
"password": "secret123"
}
curl -X POST https://api.ringbee.dev/v1/document/pdf-protect \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "password=secret123"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"input": "https://example.com/document.pdf",
"password": "secret123"
}
curl -X POST https://api.ringbee.dev/v1/document/pdf-protect \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "password=secret123"
| Param | Type | Description |
|---|---|---|
| password | string | Password required to open the PDF |
Authorizations
Body
application/jsonmultipart/form-data