Skip to main content
POST
/
service-of-notice
/
mailings
/
preview
Generate a mailing preview PDF
curl --request POST \
  --url https://cases.platform.arb.inc/service-of-notice/mailings/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form caseID=2025-09-00123 \
  --form mailType=customNotice \
  --form 'data.content={"ticketNumber": "2025-11-00162", "licensePlate": "ABC123", "state": "FL", "lotName": "Downtown Parking", "totalAmount": "75.00"}'
{
  "url": "https://temp-storage.arb.inc/cases/service-of-notice/previews/7d7e0c5c.pdf?sig=abc123&expires=1735574400",
  "validForSeconds": 3600
}

Authorizations

Authorization
string
header
required

access token

Body

multipart/form-data
caseID
string
required

The case ID this preview belongs to. Must be sent first in the multipart form.

Example:

"2025-09-00123"

mailType
string
required

The mail type identifier. Must be sent second in the multipart form.

Example:

"customNotice"

data.content
string

Optional JSON data for mailings with inputType="json": Send dynamic content as a JSON string in the data.content multipart field.

Example JSON structure:

{
"ticketNumber": "2025-11-00162",
"licensePlate": "ABC123",
"state": "FL",
"lotName": "Downtown Parking",
"totalAmount": "75.00"
}

Response

Preview link created.

url
string<uri>

Signed URL to the temporary PDF.

Example:

"https://temp-storage.arb.inc/cases/service-of-notice/previews/7d7e0c5c.pdf?sig=abc123"

validForSeconds
integer

How long the URL is valid, in seconds.

Example:

3600