@@ -9772,134 +9772,6 @@ paths:
97729772 message_type: email
97739773 body:
97749774 subject: heyy
9775- "/messages/status":
9776- get:
9777- summary: Get statuses of all messages sent based on the specified ruleset_id
9778- parameters:
9779- - name: Intercom-Version
9780- in: header
9781- schema:
9782- "$ref": "#/components/schemas/intercom_version"
9783- - name: ruleset_id
9784- in: query
9785- required: true
9786- description: The unique identifier for the set of messages to check status for
9787- schema:
9788- type: string
9789- - name: per_page
9790- in: query
9791- required: false
9792- description: Number of results per page (default 50, max 100)
9793- schema:
9794- type: integer
9795- default: 50
9796- maximum: 100
9797- - name: starting_after
9798- in: query
9799- required: false
9800- description: Cursor for pagination, used to fetch the next page of results
9801- schema:
9802- type: string
9803- tags:
9804- - Messages
9805- - WhatsApp
9806- operationId: getWhatsAppMessageStatus
9807- description: |
9808- Retrieves statuses of messages sent from the Outbound module. Currently, this API only supports WhatsApp messages.
9809-
9810-
9811- This endpoint returns paginated status events for WhatsApp messages sent via the Outbound module, providing
9812- information about delivery state and related message details.
9813- responses:
9814- '200':
9815- description: Successful response
9816- content:
9817- application/json:
9818- examples:
9819- Successful response:
9820- value:
9821- type: list
9822- ruleset_id: 12345
9823- pages:
9824- type: pages
9825- per_page: 50
9826- total_pages: 3
9827- next:
9828- starting_after: "abc123"
9829- total_count: 125
9830- events:
9831- - id: "event_1"
9832- conversation_id: "conv_123"
9833- user_id: "user_123"
9834- status: "delivered"
9835- type: "broadcast_outbound"
9836- created_at: 1734537980
9837- updated_at: 1734538000
9838- whatsapp_message_id: "wamid_123"
9839- template_name: "appointment_reminder"
9840- - id: "event_2"
9841- conversation_id: "conv_456"
9842- user_id: "user_456"
9843- status: "sent"
9844- type: "broadcast_outbound"
9845- created_at: 1734537970
9846- updated_at: 1734538010
9847- whatsapp_message_id: "wamid_456"
9848- template_name: "order_update"
9849- schema:
9850- "$ref": "#/components/schemas/whatsapp_message_status_list"
9851- '400':
9852- description: Bad request - missing required parameters
9853- content:
9854- application/json:
9855- examples:
9856- missing ruleset_id:
9857- value:
9858- type: error
9859- request_id: "req_123"
9860- message: "ruleset_id is required"
9861- schema:
9862- "$ref": "#/components/schemas/error"
9863- '401':
9864- description: Unauthorized
9865- content:
9866- application/json:
9867- examples:
9868- Unauthorized:
9869- value:
9870- type: error.list
9871- request_id: d7997515-cd92-4fe4-966c-cb1f4bdda1d4
9872- errors:
9873- - code: unauthorized
9874- message: Access Token Invalid
9875- schema:
9876- "$ref": "#/components/schemas/error"
9877- '403':
9878- description: API plan restricted
9879- content:
9880- application/json:
9881- examples:
9882- API plan restricted:
9883- value:
9884- type: error.list
9885- request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b0
9886- errors:
9887- - code: api_plan_restricted
9888- message: Active subscription needed.
9889- schema:
9890- "$ref": "#/components/schemas/error"
9891- '500':
9892- description: Internal server error
9893- content:
9894- application/json:
9895- examples:
9896- server error:
9897- value:
9898- type: error
9899- request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b2
9900- message: "Request failed due to an internal error. Please reach out to support"
9901- schema:
9902- "$ref": "#/components/schemas/error"
99039775 "/news/news_items":
99049776 get:
99059777 summary: List all news items
0 commit comments