Pingwa Guests API

The Guests API from Pingwa — 2 operation(s) for guests.

GitHub OpenAPI

Operations 4

POST /v1/guests Create Guest #
GET /v1/guests List Guests #
PATCH /v1/guests/{guest_id} Update Guest #
DELETE /v1/guests/{guest_id} Remove Guest #

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/pingwa-dev:pingwa-dev-guests-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

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

OpenAPI Specification

pingwa-dev-guests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pingwa Guests API
  version: 0.1.0
tags:
- name: Guests
paths:
  /v1/guests:
    post:
      summary: Create Guest
      description: 'A guest of the caller''s number and its single-use invite. `name` (1..64),

        `actions` (1..10 ids of this number''s actions: triggers or reports), `expires_at` (ISO 8601;

        omitted = settings.guest_default_days from now; null = never, where the plan allows

        it), `hours` (optional). The link (wa.me, prefilled `join guest-`) and the code

        are returned here only, never again. 402 plan_limit (guests, guest_max_days) from the

        plan; 409 guests_limit past settings.guests_max (invited and joined guests, not

        removed).'
      operationId: create_guest_v1_guests_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GuestIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Guest V1 Guests Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Guests
    get:
      summary: List Guests
      description: 'The caller''s number''s guests, oldest first, each with `status` (invited | active |

        expired | suspended | removed), the person''s masked phone or user ID once joined, and

        never the code or the link. Works whatever settings.guests_enabled says (fix round 1:

        the owner can always see their guests); `enabled` says whether invites are open.

        control-03: each guest''s runs_per_day and runs_today.'
      operationId: list_guests_v1_guests_get
      parameters:
      - 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 List Guests V1 Guests Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Guests
  /v1/guests/{guest_id}:
    patch:
      summary: Update Guest
      description: 'Change `name`, `actions`, `expires_at` (null = never, where the plan allows it),

        `hours` (null = any time); `suspended: false` clears a suspension (an identity change

        on WhatsApp); control-03: `runs_per_day` (1..500, null = the default, 20). Takes effect

        on the guest''s next tap. 409 guest_removed for a removed guest.'
      operationId: update_guest_v1_guests__guest_id__patch
      parameters:
      - name: guest_id
        in: path
        required: true
        schema:
          type: string
          title: Guest Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GuestIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Update Guest V1 Guests  Guest Id  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Guests
    delete:
      summary: Remove Guest
      description: 'Remove a guest (an unused invite stops working too); their very next tap is

        refused. The row stays in the list as removed; a person pingwa knows only as this

        guest is erased with their last link (guests.remove). Works whatever

        settings.guests_enabled says (fix round 1: the owner can always revoke).'
      operationId: remove_guest_v1_guests__guest_id__delete
      parameters:
      - name: guest_id
        in: path
        required: true
        schema:
          type: string
          title: Guest Id
      - 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 Remove Guest V1 Guests  Guest Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Guests
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GuestIn:
      properties:
        name:
          title: Name
        actions:
          title: Actions
        expires_at:
          title: Expires At
        hours:
          title: Hours
        suspended:
          title: Suspended
        runs_per_day:
          title: Runs Per Day
      type: object
      title: GuestIn
      description: 'Loose on purpose: each field is checked by hand for its own 422 error code.'
    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