Skip to content

Queue Options ​

Queue options control job priority and processing order.

Options Reference ​

OptionTypeDescription
prioritynumberPriority level 1-10 (higher = processed first)

Request Options ​

OptionTypeDescription
reCreatebooleanForce recreate PDF even if one already exists

Examples ​

High Priority Job ​

json
{
  "requestedKey": "urgent-report",
  "url": "https://example.com",
  "options": {
    "queue": {
      "priority": 10
    }
  }
}

Force Recreate ​

json
{
  "requestedKey": "existing-report",
  "url": "https://example.com",
  "reCreate": true
}

TIP

By default, if a PDF with the same requestedKey already exists and is completed, the service will return the existing PDF. Use reCreate: true to force regeneration.

Released under the MIT License.