Pingwa Team API

The Team API from Pingwa — 6 operation(s) for team.

GitHub OpenAPI

Operations 7

POST /v1/team/invites Create Invite #
GET /v1/team Get Team #
DELETE /v1/team/members/{member_id} Remove Member #
DELETE /v1/team/invites/{invite_id} Delete Invite #
POST /v1/team/policies Save Policy #
GET /v1/team/policies List Policies #
DELETE /v1/team/policies/{name} Delete Policy #

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-team-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-team-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pingwa Team API
  version: 0.1.0
tags:
- name: Team
paths:
  /v1/team/invites:
    post:
      summary: Create Invite
      description: 'A single-use invite to the caller''s team, valid settings.team_invite_ttl_days.

        The link (wa.me, prefilled `join team-`, to the number senders.join_number()

        picks, as every join surface) is returned here only, never again, with its QR as an

        inline `qr_svg` (join.qr_svg, our own generator''s output).

        402 plan_limit (team_seats) when the owner plus active members fill the plan''s seats.

        409 teams_disabled until settings.teams_enabled (the rolling deploy: an old replica

        would take `join team-` for a signup tag).'
      operationId: create_invite_v1_team_invites_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Invite V1 Team Invites Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
  /v1/team:
    get:
      summary: Get Team
      description: 'The caller''s team: `enabled` (settings.teams_enabled; false = invites are not open yet,

        the panel hides its Team section), the owner (the account root), active members (name, masked

        phone or user ID, active = not stopped, window open, joined_at), members inactive

        because the team has fewer seats than people (pricing-03: left_reason "seats",

        left_at; they come back automatically, oldest first, when seats rise again) and

        pending invites (name, expires_at; never the code or link).'
      operationId: get_team_v1_team_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 Get Team V1 Team Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
  /v1/team/members/{member_id}:
    delete:
      summary: Remove Member
      description: 'Remove an active member (the id from GET /v1/team); they get nothing more from this

        team. The person''s own row stays, unless it is a bare invite row in no other team

        (teams.erase_if_bare, judged under the row''s lock): then it goes with its data.

        A member inactive for seats (pricing-03, GET /v1/team inactive_members) can be

        removed too: it is then never brought back when seats rise (left_reason removed).

        Takes the team root''s lock before it reads the link (teams.remove_member), as every

        seat webhook does: a removal and a seat change never interleave.'
      operationId: remove_member_v1_team_members__member_id__delete
      parameters:
      - name: member_id
        in: path
        required: true
        schema:
          type: string
          title: Member 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 Member V1 Team Members  Member Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
  /v1/team/invites/{invite_id}:
    delete:
      summary: Delete Invite
      description: 'Withdraw a pending invite: its link stops working.'
      operationId: delete_invite_v1_team_invites__invite_id__delete
      parameters:
      - name: invite_id
        in: path
        required: true
        schema:
          type: string
          title: Invite 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 Delete Invite V1 Team Invites  Invite Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
  /v1/team/policies:
    post:
      summary: Save Policy
      description: 'Store a named escalation policy (teams-04) on the caller''s account: the steps of

        `escalate`, used as `"escalate": ""` on /v1/ask and ack notifies. The same name

        again replaces its steps (`replaced` true). Names are case-insensitive (stored

        lowercase). Steps are checked here for shape; who they name is resolved at each send.

        402 plan_limit (escalation) on a plan without escalation; 409 policy_limit past

        settings.escalation_policies_max.'
      operationId: save_policy_v1_team_policies_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/PolicyIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Save Policy V1 Team Policies Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
    get:
      summary: List Policies
      description: The account's escalation policies (teams-04), by name.
      operationId: list_policies_v1_team_policies_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 Policies V1 Team Policies Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
  /v1/team/policies/{name}:
    delete:
      summary: Delete Policy
      description: Delete a policy by name. Sends that already used it keep their planned steps.
      operationId: delete_policy_v1_team_policies__name__delete
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - 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 Delete Policy V1 Team Policies  Name  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Team
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PolicyIn:
      properties:
        name:
          type: string
          title: Name
          description: '1-40 chars: letters, digits, . _ -, starting with a letter or digit; stored lowercase'
        steps:
          items:
            properties:
              to:
                anyOf:
                - type: string
                  description: '"me" or "team"'
                - items:
                    type: string
                  type: array
                  description: member ids or names, and/or "me"
              after_s:
                type: integer
                maximum: 21600.0
                minimum: 60.0
                description: seconds after the original send; each step at least 60 s after the previous one
            additionalProperties: false
            type: object
            required:
            - to
            - after_s
          type: array
          maxItems: 3
          minItems: 1
          title: Steps
          description: 'teams-04: escalate while nobody answers: steps [{"to", "after_s"}] (1-3) or a policy name. Responses add `escalation` [{step, state, due_at, reason}]; state: pending | sent | cancelled | stopped.'
      type: object
      title: PolicyIn
    InviteIn:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 1024
          - type: 'null'
          title: Name
      type: object
      title: InviteIn
    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