AdvisorPPC Team API
The team API from AdvisorPPC — 9 operation(s) for team.
The team API from AdvisorPPC — 9 operation(s) for team.
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/advisorppc-com:advisorppc-com-team-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. 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: 3.2.0
info:
title: AdvisorPPC Team API
version: 0.1.0
tags:
- name: Team
paths:
/api/team:
get:
tags:
- Team
summary: Get Team
operationId: get_team_api_team_get
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/invites:
post:
tags:
- Team
summary: Create Invite
operationId: create_invite_api_team_invites_post
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InviteIn'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteCreatedOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/invites/{invite_id}:
delete:
tags:
- Team
summary: Revoke Invite
operationId: revoke_invite_api_team_invites__invite_id__delete
security:
- HTTPBearer: []
parameters:
- name: invite_id
in: path
required: true
schema:
type: integer
title: Invite Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/members/{user_id}:
patch:
tags:
- Team
summary: Update Member
description: Switch a teammate on or off, or change their role (member / admin).
operationId: update_member_api_team_members__user_id__patch
security:
- HTTPBearer: []
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MemberPatchIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Team
summary: Remove Member
operationId: remove_member_api_team_members__user_id__delete
security:
- HTTPBearer: []
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/seats:
put:
tags:
- Team
summary: Set Extra Seats
description: 'Set how many extra seats the subscription carries.
Raising adds seats to the live subscription and Stripe charges the
prorated amount now. Lowering takes seats off and Stripe credits the
unused time on the next invoice. Seats in use cannot be taken off.'
operationId: set_extra_seats_api_team_seats_put
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SeatsIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/invites/lookup:
get:
tags:
- Team
summary: Lookup Invite
operationId: lookup_invite_api_team_invites_lookup_get
security:
- HTTPBearer: []
parameters:
- name: token
in: query
required: true
schema:
type: string
title: Token
- name: app_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: App Token
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteLookupOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/invites/accept:
post:
tags:
- Team
summary: Accept Invite
description: Join the inviting workspace and make it this browser's workspace.
operationId: accept_invite_api_team_invites_accept_post
security:
- HTTPBearer: []
parameters:
- name: app_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: App Token
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AcceptIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/app__routers__team__WorkspaceOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/workspaces:
get:
tags:
- Team
summary: List Workspaces
operationId: list_workspaces_api_team_workspaces_get
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/app__routers__team__WorkspacesOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/team/workspaces/{tenant_id}/switch:
post:
tags:
- Team
summary: Switch Workspace
description: Make ``tenant_id`` this browser's workspace. Active members only.
operationId: switch_workspace_api_team_workspaces__tenant_id__switch_post
security:
- HTTPBearer: []
parameters:
- name: tenant_id
in: path
required: true
schema:
type: integer
title: Tenant Id
- name: app_token
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: App Token
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/app__routers__team__WorkspaceOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
InviteLookupOut:
properties:
workspace_name:
type: string
title: Workspace Name
email:
type: string
title: Email
role:
type: string
title: Role
email_matches:
type: boolean
title: Email Matches
problem:
anyOf:
- type: string
- type: 'null'
title: Problem
type: object
required:
- workspace_name
- email
- role
- email_matches
- problem
title: InviteLookupOut
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
MemberPatchIn:
properties:
status:
anyOf:
- type: string
- type: 'null'
title: Status
role:
anyOf:
- type: string
- type: 'null'
title: Role
type: object
title: MemberPatchIn
AcceptIn:
properties:
token:
type: string
title: Token
type: object
required:
- token
title: AcceptIn
InviteIn:
properties:
email:
type: string
title: Email
role:
type: string
title: Role
default: member
type: object
required:
- email
title: InviteIn
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
InviteOut:
properties:
id:
type: integer
title: Id
email:
type: string
title: Email
role:
type: string
title: Role
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
expires_at:
anyOf:
- type: string
- type: 'null'
title: Expires At
type: object
required:
- id
- email
- role
- created_at
- expires_at
title: InviteOut
app__routers__team__WorkspacesOut:
properties:
workspaces:
items:
$ref: '#/components/schemas/app__routers__team__WorkspaceOut'
type: array
title: Workspaces
type: object
required:
- workspaces
title: WorkspacesOut
MemberOut:
properties:
user_id:
type: integer
title: User Id
email:
type: string
title: Email
name:
anyOf:
- type: string
- type: 'null'
title: Name
role:
type: string
title: Role
status:
type: string
title: Status
is_you:
type: boolean
title: Is You
joined_at:
anyOf:
- type: string
- type: 'null'
title: Joined At
is_staff:
type: boolean
title: Is Staff
default: false
type: object
required:
- user_id
- email
- name
- role
- status
- is_you
- joined_at
title: MemberOut
InviteCreatedOut:
properties:
invite:
$ref: '#/components/schemas/InviteOut'
invite_link:
type: string
title: Invite Link
email_sent:
type: boolean
title: Email Sent
team:
$ref: '#/components/schemas/TeamOut'
type: object
required:
- invite
- invite_link
- email_sent
- team
title: InviteCreatedOut
SeatsIn:
properties:
extra_seats:
type: integer
title: Extra Seats
type: object
required:
- extra_seats
title: SeatsIn
app__routers__team__WorkspaceOut:
properties:
tenant_id:
type: integer
title: Tenant Id
name:
type: string
title: Name
role:
type: string
title: Role
kind:
type: string
title: Kind
current:
type: boolean
title: Current
type: object
required:
- tenant_id
- name
- role
- kind
- current
title: WorkspaceOut
TeamOut:
properties:
workspace_name:
type: string
title: Workspace Name
tier:
type: string
title: Tier
role:
type: string
title: Role
can_manage:
type: boolean
title: Can Manage
seats:
additionalProperties: true
type: object
title: Seats
members:
items:
$ref: '#/components/schemas/MemberOut'
type: array
title: Members
invites:
items:
$ref: '#/components/schemas/InviteOut'
type: array
title: Invites
type: object
required:
- workspace_name
- tier
- role
- can_manage
- seats
- members
- invites
title: TeamOut
securitySchemes:
HTTPBearer:
type: http
scheme: bearer