Openpath orgs/mailrooms API

The orgs/mailrooms API from Openpath — 5 operation(s) for orgs/mailrooms.

Operations 8

GET /orgs/{orgId}/mailrooms List active mailrooms #
POST /orgs/{orgId}/mailrooms Create a mailroom #
GET /orgs/{orgId}/mailrooms/{mailroomId} Describe a mailroom #
DELETE /orgs/{orgId}/mailrooms/{mailroomId} Delete a mailroom #
PATCH /orgs/{orgId}/mailrooms/{mailroomId} Update a mailroom #
GET /orgs/{orgId}/mailrooms/statistics Get all mailroom statistics #
GET /orgs/{orgId}/mailrooms/{mailroomId}/statistics Get single mailroom statistics #
DELETE /orgs/{orgId}/mailrooms/cancel Cancel mailroom #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openpath-orgs-mailrooms-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openpath-orgs-mailrooms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openpath API Documentation auth Orgs/mailrooms API
  version: 1.0.0
  description: Authentication and Login
servers:
- url: https://api.openpath.com
tags:
- name: orgs/mailrooms
paths:
  /orgs/{orgId}/mailrooms:
    get:
      summary: List active mailrooms
      operationId: listMailrooms
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:r,o{params.orgId}-parcelMgmtParcels:w,o:w,o:r,s-o:r,s-o:w<br/><br/>__Endpoint name__: listMailrooms'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      - name: limit
        in: query
        schema:
          type: integer
          maximum: 1000
          minimum: 1
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
          minimum: 0
      - name: sort
        in: query
        schema:
          type: string
          default: name
          pattern: ^[a-zA-Z0-9.]+(,\s*[a-zA-Z0-9.]+)*$
      - name: order
        in: query
        schema:
          type: string
          default: asc
          pattern: ^(asc|desc)+(,\s*(asc|desc)+)*$
      - name: q
        in: query
        schema:
          type: string
      - name: filter
        in: query
        schema:
          type: string
      - name: preFilter
        in: query
        schema:
          type: string
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  totalCount:
                    type: integer
                  filteredCount:
                    type: integer
                  cursors:
                    type: object
                    properties:
                      nextCursor:
                        type:
                        - integer
                        - 'null'
                        x-alternatives:
                        - type:
                          - integer
                          - 'null'
                        - type:
                          - string
                          - 'null'
                          pattern: ^[a-zA-Z0-9,@._~-]+$
                      hasNextPage:
                        type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                        name:
                          type: string
                        createdAt:
                          type: string
                          format: date
                        updatedAt:
                          type: string
                          format: date
                        site:
                          type: object
                          properties:
                            id:
                              type: number
                            name:
                              type: string
                          required:
                          - id
                        address:
                          type: string
                        address2:
                          type:
                          - string
                          - 'null'
                        city:
                          type: string
                        state:
                          type:
                          - string
                          - 'null'
                        zip:
                          type:
                          - string
                          - 'null'
                        country:
                          type: string
                        phone:
                          type:
                          - string
                          - 'null'
                        description:
                          type:
                          - string
                          - 'null'
                        timezone:
                          type: string
                        isSelfPickup:
                          type: boolean
                          default: false
                        isSignatureRequired:
                          type: boolean
                          default: false
                      required:
                      - id
                      - name
                      - address
                      - city
                      - country
                      - timezone
                  meta:
                    type: object
                    properties:
                      accessToken:
                        type:
                        - object
                        - 'null'
                        properties:
                          scopeUpdatedAt:
                            type: string
                            format: date
                      siteSpecificAccess:
                        type:
                        - object
                        - 'null'
                        properties:
                          isSiteSpecific:
                            type: boolean
                          siteIds:
                            type:
                            - array
                            - 'null'
                            items:
                              type: integer
                          siteIdsByScope:
                            type:
                            - object
                            - 'null'
                            properties:
                              string:
                                type:
                                - array
                                - 'null'
                                items:
                                  type: integer
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:r
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - o:r
      - s-o:r
      - s-o:w
    post:
      summary: Create a mailroom
      operationId: createMailroom
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:w,o:w,s-o:w<br/><br/>__Endpoint name__: createMailroom'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: number
                      name:
                        type: string
                      createdAt:
                        type: string
                        format: date
                      updatedAt:
                        type: string
                        format: date
                      site:
                        type: object
                        properties:
                          id:
                            type: number
                          name:
                            type: string
                        required:
                        - id
                      address:
                        type: string
                      address2:
                        type:
                        - string
                        - 'null'
                      city:
                        type: string
                      state:
                        type:
                        - string
                        - 'null'
                      zip:
                        type:
                        - string
                        - 'null'
                      country:
                        type: string
                      phone:
                        type:
                        - string
                        - 'null'
                      description:
                        type:
                        - string
                        - 'null'
                      timezone:
                        type: string
                      isSelfPickup:
                        type: boolean
                        default: false
                      isSignatureRequired:
                        type: boolean
                        default: false
                    required:
                    - id
                    - name
                    - address
                    - city
                    - country
                    - timezone
                  meta:
                    type: object
                    properties:
                      accessToken:
                        type:
                        - object
                        - 'null'
                        properties:
                          scopeUpdatedAt:
                            type: string
                            format: date
                      siteSpecificAccess:
                        type:
                        - object
                        - 'null'
                        properties:
                          isSiteSpecific:
                            type: boolean
                          siteIds:
                            type:
                            - array
                            - 'null'
                            items:
                              type: integer
                          siteIdsByScope:
                            type:
                            - object
                            - 'null'
                            properties:
                              string:
                                type:
                                - array
                                - 'null'
                                items:
                                  type: integer
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - s-o:w
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                siteId:
                  type: number
                address:
                  type: string
                address2:
                  type:
                  - string
                  - 'null'
                city:
                  type: string
                zip:
                  type:
                  - string
                  - 'null'
                country:
                  type: string
                  x-convert:
                    trim: true
                state:
                  type:
                  - string
                  - 'null'
                  x-convert:
                    trim: true
                phone:
                  type:
                  - string
                  - 'null'
                description:
                  type:
                  - string
                  - 'null'
                isSelfPickup:
                  type: boolean
                isSignatureRequired:
                  type: boolean
              required:
              - name
              - siteId
              - address
              - city
              - country
  /orgs/{orgId}/mailrooms/{mailroomId}:
    get:
      summary: Describe a mailroom
      operationId: describeMailroom
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:r,o{params.orgId}-parcelMgmtParcels:w,o:w,o:r,s-o:r,s-o:w<br/><br/>__Endpoint name__: describeMailroom'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      - name: mailroomId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: number
                      name:
                        type: string
                      createdAt:
                        type: string
                        format: date
                      updatedAt:
                        type: string
                        format: date
                      site:
                        type: object
                        properties:
                          id:
                            type: number
                          name:
                            type: string
                        required:
                        - id
                      address:
                        type: string
                      address2:
                        type:
                        - string
                        - 'null'
                      city:
                        type: string
                      state:
                        type:
                        - string
                        - 'null'
                      zip:
                        type:
                        - string
                        - 'null'
                      country:
                        type: string
                      phone:
                        type:
                        - string
                        - 'null'
                      description:
                        type:
                        - string
                        - 'null'
                      timezone:
                        type: string
                      isSelfPickup:
                        type: boolean
                        default: false
                      isSignatureRequired:
                        type: boolean
                        default: false
                    required:
                    - id
                    - name
                    - address
                    - city
                    - country
                    - timezone
                  meta:
                    type: object
                    properties:
                      accessToken:
                        type:
                        - object
                        - 'null'
                        properties:
                          scopeUpdatedAt:
                            type: string
                            format: date
                      siteSpecificAccess:
                        type:
                        - object
                        - 'null'
                        properties:
                          isSiteSpecific:
                            type: boolean
                          siteIds:
                            type:
                            - array
                            - 'null'
                            items:
                              type: integer
                          siteIdsByScope:
                            type:
                            - object
                            - 'null'
                            properties:
                              string:
                                type:
                                - array
                                - 'null'
                                items:
                                  type: integer
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:r
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - o:r
      - s-o:r
      - s-o:w
    delete:
      summary: Delete a mailroom
      operationId: deleteMailroom
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:w,o:w,s-o:w<br/><br/>__Endpoint name__: deleteMailroom'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      - name: mailroomId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '204':
          description: No Content
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - s-o:w
    patch:
      summary: Update a mailroom
      operationId: updateMailroom
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:w,o:w,s-o:w<br/><br/>__Endpoint name__: updateMailroom'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      - name: mailroomId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: number
                      name:
                        type: string
                      createdAt:
                        type: string
                        format: date
                      updatedAt:
                        type: string
                        format: date
                      site:
                        type: object
                        properties:
                          id:
                            type: number
                          name:
                            type: string
                        required:
                        - id
                      address:
                        type: string
                      address2:
                        type:
                        - string
                        - 'null'
                      city:
                        type: string
                      state:
                        type:
                        - string
                        - 'null'
                      zip:
                        type:
                        - string
                        - 'null'
                      country:
                        type: string
                      phone:
                        type:
                        - string
                        - 'null'
                      description:
                        type:
                        - string
                        - 'null'
                      timezone:
                        type: string
                      isSelfPickup:
                        type: boolean
                        default: false
                      isSignatureRequired:
                        type: boolean
                        default: false
                    required:
                    - id
                    - name
                    - address
                    - city
                    - country
                    - timezone
                  meta:
                    type: object
                    properties:
                      accessToken:
                        type:
                        - object
                        - 'null'
                        properties:
                          scopeUpdatedAt:
                            type: string
                            format: date
                      siteSpecificAccess:
                        type:
                        - object
                        - 'null'
                        properties:
                          isSiteSpecific:
                            type: boolean
                          siteIds:
                            type:
                            - array
                            - 'null'
                            items:
                              type: integer
                          siteIdsByScope:
                            type:
                            - object
                            - 'null'
                            properties:
                              string:
                                type:
                                - array
                                - 'null'
                                items:
                                  type: integer
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - s-o:w
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                siteId:
                  type: number
                address:
                  type: string
                address2:
                  type:
                  - string
                  - 'null'
                city:
                  type: string
                zip:
                  type:
                  - string
                  - 'null'
                country:
                  type: string
                  x-convert:
                    trim: true
                state:
                  type:
                  - string
                  - 'null'
                  x-convert:
                    trim: true
                phone:
                  type:
                  - string
                  - 'null'
                description:
                  type:
                  - string
                  - 'null'
                isSelfPickup:
                  type: boolean
                isSignatureRequired:
                  type: boolean
  /orgs/{orgId}/mailrooms/statistics:
    get:
      summary: Get all mailroom statistics
      operationId: describeAllMailroomStatistics
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:r,o{params.orgId}-parcelMgmtParcels:w,o:w,o:r,s-o:r,s-o:w<br/><br/>__Endpoint name__: describeAllMailroomStatistics'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      scannedCount:
                        type: number
                      pickedUpCount:
                        type: number
                      awaitingPickupCount:
                        type: number
                      averagePickupTime:
                        type: number
                      timeSince:
                        type: string
                        format: date
                  meta:
                    type: object
                    properties:
                      accessToken:
                        type:
                        - object
                        - 'null'
                        properties:
                          scopeUpdatedAt:
                            type: string
                            format: date
                      siteSpecificAccess:
                        type:
                        - object
                        - 'null'
                        properties:
                          isSiteSpecific:
                            type: boolean
                          siteIds:
                            type:
                            - array
                            - 'null'
                            items:
                              type: integer
                          siteIdsByScope:
                            type:
                            - object
                            - 'null'
                            properties:
                              string:
                                type:
                                - array
                                - 'null'
                                items:
                                  type: integer
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:r
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - o:r
      - s-o:r
      - s-o:w
  /orgs/{orgId}/mailrooms/{mailroomId}/statistics:
    get:
      summary: Get single mailroom statistics
      operationId: describeMailroomStatistics
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-parcelMgmtParcels:r,o{params.orgId}-parcelMgmtParcels:w,o:w,o:r,s-o:r,s-o:w<br/><br/>__Endpoint name__: describeMailroomStatistics'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      - name: mailroomId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      scannedCount:
                        type: number
                      pickedUpCount:
                        type: number
                      awaitingPickupCount:
                        type: number
                      averagePickupTime:
                        type: number
                      timeSince:
                        type: string
                        format: date
                  meta:
                    type: object
                    properties:
                      accessToken:
                        type:
                        - object
                        - 'null'
                        properties:
                          scopeUpdatedAt:
                            type: string
                            format: date
                      siteSpecificAccess:
                        type:
                        - object
                        - 'null'
                        properties:
                          isSiteSpecific:
                            type: boolean
                          siteIds:
                            type:
                            - array
                            - 'null'
                            items:
                              type: integer
                          siteIdsByScope:
                            type:
                            - object
                            - 'null'
                            properties:
                              string:
                                type:
                                - array
                                - 'null'
                                items:
                                  type: integer
      x-op-scopes:
      - o{params.orgId}-parcelMgmtParcels:r
      - o{params.orgId}-parcelMgmtParcels:w
      - o:w
      - o:r
      - s-o:r
      - s-o:w
  /orgs/{orgId}/mailrooms/cancel:
    delete:
      summary: Cancel mailroom
      operationId: cancelMailroom
      description: '__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-admin:w,o:w,s-o:w<br/><br/>__Endpoint name__: cancelMailroom'
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: integer
      tags:
      - orgs/mailrooms
      security:
      - jwt: []
      responses:
        '204':
          description: No Content
      x-op-scopes:
      - o{params.orgId}-admin:w
      - o:w
      - s-o:w
components:
  securitySchemes:
    jwt:
      type: apiKey
      name: Authorization
      in: header
x-proxy-enabled: false