curl --request POST \
--url https://cases.platform.arb.inc/service-of-notice/mail-types/list \
--header 'Authorization: Bearer <token>'{
"mailTypes": [
{
"id": "sealedMailer",
"displayName": "Sealed Mailer",
"description": "A folded and sealed letter with optional image attachment.",
"inputType": "files",
"UserFields": [
{
"id": "attachment",
"displayName": "Custom Image",
"description": "Optional image to include in the mailing.",
"pixelWidth": 1000,
"pixelHeight": 600
}
]
},
{
"id": "customNotice",
"displayName": "Custom Notice Template",
"description": "HTML template with dynamic content fields",
"inputType": "json",
"UserFields": []
}
]
}Returns mail types with simple fields users can customize.
curl --request POST \
--url https://cases.platform.arb.inc/service-of-notice/mail-types/list \
--header 'Authorization: Bearer <token>'{
"mailTypes": [
{
"id": "sealedMailer",
"displayName": "Sealed Mailer",
"description": "A folded and sealed letter with optional image attachment.",
"inputType": "files",
"UserFields": [
{
"id": "attachment",
"displayName": "Custom Image",
"description": "Optional image to include in the mailing.",
"pixelWidth": 1000,
"pixelHeight": 600
}
]
},
{
"id": "customNotice",
"displayName": "Custom Notice Template",
"description": "HTML template with dynamic content fields",
"inputType": "json",
"UserFields": []
}
]
}access token
Mail types successfully retrieved.
List of available mail types.
Show child attributes
Unique identifier for the mail type.
"pressureSealed"
User-friendly name of the mail type.
"Pressure Sealed"
Short description of the mail type.
"A single sheet folded and sealed for mailing."
Input method for this mail type:
files, json "files"
Image upload fields the user can customize. Only applicable when inputType is "files".
Show child attributes
Unique identifier for the user field.
"logo"
User-friendly label for the field.
"Company Logo"
Brief explanation of the field’s purpose.
"PNG or JPEG image displayed at the top right."
Maximum image width in pixels.
600
Maximum image height in pixels.
200