> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arb.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a service-of-notice mailing

> Create a service-of-notice mailing. Send JSON data in the `data.content` field for dynamic mail templates.




## OpenAPI

````yaml /api-reference/api.yaml post /service-of-notice/mailings/create
openapi: 3.0.3
info:
  title: api
  description: >-
    The API service is the secure public gateway to our platform, letting people
    access features without touching our private internal APIs. It authenticates
    clients with its own internal tokens and then routes their requests to the
    right internal services behind the scenes.
  version: 1.0.0
servers:
  - url: https://api.platform.arb.inc
security: []
tags:
  - name: cases
  - name: docket
  - name: evidence
  - name: filings
  - name: organization
  - name: participants
  - name: schemas
  - name: service-of-notice
paths:
  /service-of-notice/mailings/create:
    post:
      tags:
        - service-of-notice
      summary: Create a service-of-notice mailing
      description: >
        Create a service-of-notice mailing. Send JSON data in the `data.content`
        field for dynamic mail templates.
      operationId: createServiceOfNoticeMailing
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - caseID
                - mailType
              properties:
                caseID:
                  type: string
                  description: >-
                    The case ID this mailing belongs to. Must be sent first in
                    the multipart form.
                  example: 2025-09-00123
                mailType:
                  type: string
                  description: >
                    The mail type identifier. Must be sent second in the
                    multipart form.
                  example: sealedMailer
                data.content:
                  type: string
                  description: >
                    **JSON data for mail templates**: Send dynamic content as a
                    JSON string in the `data.content` multipart field.


                    Example JSON structure:

                    ```json

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

                    ```
            encoding:
              data.content:
                contentType: application/json
            examples:
              withJsonData:
                summary: Mailing with JSON data
                value:
                  caseID: 2025-09-00123
                  mailType: sealedMailer
                  data.content: >-
                    {"ticketNumber": "2025-11-00162", "licensePlate": "ABC123",
                    "state": "FL", "lotName": "Downtown Parking", "totalAmount":
                    "75.00"}
      responses:
        '200':
          description: Mailing was created.
          content:
            text/plain:
              schema:
                type: string
                example: mailing created
        '410':
          description: Mailing already exists.
          content:
            text/plain:
              schema:
                type: string
                example: mailing already exists
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````