Pirsch Members API
Manage domain members, roles, and invitations
Operations 7
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Manage domain members, roles, and invitations
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pirsch:pirsch-members-api"
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.
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: 3.2.0
info:
title: Pirsch Members API
description: RESTful API for sending page views, events, and session data to Pirsch, and for querying statistics including visitors, pages, referrers, UTM parameters, geo-location, device, browser, conversion goals, funnels, and real-time active visitors. Also exposes management endpoints for domains, members, clients, webhooks, email reports, traffic filters, short links, and views.
version: '1'
contact:
name: Pirsch Support
url: https://pirsch.io
license:
name: Proprietary
url: https://pirsch.io/privacy
servers:
- url: https://api.pirsch.io/api/v1
description: Pirsch production API
security:
- BearerAuth: []
tags:
- name: Members
description: Manage domain members, roles, and invitations
paths:
/member:
get:
operationId: listMembers
summary: List domain members
tags:
- Members
parameters:
- name: id
in: query
schema:
type: string
description: Domain ID
- name: organization_id
in: query
schema:
type: string
responses:
'200':
description: Members
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Member'
post:
operationId: inviteMembers
summary: Invite members
description: Send invitations to one or more email addresses
tags:
- Members
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InviteMembersRequest'
responses:
'200':
description: Invitations sent
put:
operationId: updateMember
summary: Update member role
tags:
- Members
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateMemberRequest'
responses:
'200':
description: Member role updated
delete:
operationId: removeMember
summary: Remove member
tags:
- Members
parameters:
- name: id
in: query
required: true
schema:
type: string
description: Member ID
responses:
'200':
description: Member removed
/invitation:
get:
operationId: listInvitations
summary: List invitations
tags:
- Members
parameters:
- name: domain_id
in: query
schema:
type: string
- name: organization_id
in: query
schema:
type: string
responses:
'200':
description: Invitations
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Invitation'
post:
operationId: acceptInvitation
summary: Accept invitation
tags:
- Members
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- id
properties:
id:
type: string
responses:
'200':
description: Invitation accepted
delete:
operationId: deleteInvitation
summary: Delete invitation
tags:
- Members
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- id
properties:
id:
type: string
domain_id:
type: string
organization_id:
type: string
responses:
'200':
description: Invitation deleted
components:
schemas:
UpdateMemberRequest:
type: object
required:
- id
- role
properties:
id:
type: string
description: Member ID
role:
type: string
enum:
- Viewer
- Admin
Member:
type: object
properties:
id:
type: string
role:
type: string
enum:
- Owner
- Admin
- Viewer
user_id:
type: string
user:
type: object
Invitation:
type: object
properties:
id:
type: string
email:
type: string
format: email
domain:
type: object
organization:
type: object
InviteMembersRequest:
type: object
properties:
id:
type: string
description: Domain ID
organization_id:
type: string
emails:
type: array
items:
type: string
format: email
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Pass an OAuth2 access token obtained from POST /token, or a static access key, as a Bearer token in the Authorization header.