Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: pingwa Messages API
version: 0.1.0
tags:
- name: Messages
paths:
/v1/messages/{message_id}/reply:
get:
summary: Message Reply
description: 'The human''s reply to a specific outbound message, long-poll up to `wait` seconds.
Works for any outbound the human quoted/button-tapped, not only asks.
teams-03: any row of a mode "all" group gives every answer so far (`answers`,
`pending`): when someone is still pending at `wait`, what there is (408 when nobody
answered). An ack notify''s row reads the "On it" tap (a group: the first one).
teams-04: a group with escalation steps adds `escalation` (each step''s state), also
on the 408.
embed-01: a partner''s key reads the replies to its own messages only (any other
message of the number is 404 to it), under the same partner checks as its sends
(_partner_of: 403 partners_disabled / partner_suspended; its own short session, so
no connection is held through the long-poll).'
operationId: message_reply_v1_messages__message_id__reply_get
parameters:
- name: message_id
in: path
required: true
schema:
type: string
title: Message Id
- name: wait
in: query
required: false
schema:
type: integer
default: 0
title: Wait
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Message Reply V1 Messages Message Id Reply Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Messages
/v1/messages:
get:
summary: Messages
operationId: messages_v1_messages_get
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 20
title: Limit
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Messages V1 Messages Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Messages
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError