OpenRush Team API
The team API from OpenRush — 8 operation(s) for team.
The team API from OpenRush — 8 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/openrush-com:openrush-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: OpenRush Team API
description: 'The ground-truth marketing data layer for AI agents. Every response is a typed envelope: compact data, typed facts, entity index, deltas, provenance, coverage, next actions.'
version: 0.1.0
tags:
- name: Team
paths:
/v1/me/team:
get:
tags:
- Team
summary: Get Team
description: 'The team roster: members + pending invites. Any signed-in member may read;
mutation controls are gated (below) and hidden in the UI for members.'
operationId: get_team_v1_me_team_get
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/team/invites:
post:
tags:
- Team
summary: Create Invite
operationId: create_invite_v1_me_team_invites_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InviteCreateRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamInvitePublic'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/team/invites/{invite_id}:
delete:
tags:
- Team
summary: Revoke Invite
operationId: revoke_invite_v1_me_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
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/team/members/{identity_id}/promote:
post:
tags:
- Team
summary: Promote Member
operationId: promote_member_v1_me_team_members__identity_id__promote_post
parameters:
- name: identity_id
in: path
required: true
schema:
type: string
title: Identity Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamMemberPublic'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/team/members/{identity_id}:
delete:
tags:
- Team
summary: Remove Member
operationId: remove_member_v1_me_team_members__identity_id__delete
parameters:
- name: identity_id
in: path
required: true
schema:
type: string
title: Identity Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/team/usage:
get:
tags:
- Team
summary: Team Usage
operationId: team_usage_v1_me_team_usage_get
parameters:
- name: window_days
in: query
required: false
schema:
type: integer
default: 30
title: Window Days
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TeamUsageResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/pending-invites:
get:
tags:
- Team
summary: Pending Invites
description: 'Invites addressed to the signed-in user''s verified email, so they can join
from the dashboard even when the invite link''s post-login redirect was lost
(teams §5.3). Only ever surfaced for a provider-verified email — an
unconfirmed session gets an empty list and never learns a token exists.
Acceptance still posts the token to /accept-invite.'
operationId: pending_invites_v1_me_pending_invites_get
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PendingInvitesResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/me/accept-invite:
post:
tags:
- Team
summary: Accept Invite
operationId: accept_invite_v1_me_accept_invite_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AcceptInviteRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AcceptInviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
InviteCreateRequest:
properties:
email:
type: string
maxLength: 255
minLength: 3
title: Email
type: object
required:
- email
title: InviteCreateRequest
TeamResponse:
properties:
members:
items:
$ref: '#/components/schemas/TeamMemberPublic'
type: array
title: Members
invites:
items:
$ref: '#/components/schemas/TeamInvitePublic'
type: array
title: Invites
type: object
required:
- members
- invites
title: TeamResponse
AcceptInviteResponse:
properties:
status:
type: string
enum:
- joined
- already_member
title: Status
account_id:
type: string
title: Account Id
type: object
required:
- status
- account_id
title: AcceptInviteResponse
TeamMemberPublic:
properties:
oauth_identity_id:
type: string
title: Oauth Identity Id
email:
anyOf:
- type: string
- type: 'null'
title: Email
role:
type: string
enum:
- admin
- member
title: Role
joined_at:
type: string
format: date-time
title: Joined At
is_self:
type: boolean
title: Is Self
default: false
type: object
required:
- oauth_identity_id
- role
- joined_at
title: TeamMemberPublic
PendingInvitesResponse:
properties:
invites:
items:
$ref: '#/components/schemas/PendingInvitePublic'
type: array
title: Invites
type: object
required:
- invites
title: PendingInvitesResponse
AcceptInviteRequest:
properties:
token:
type: string
maxLength: 64
minLength: 8
title: Token
type: object
required:
- token
title: AcceptInviteRequest
TeamInvitePublic:
properties:
id:
type: string
title: Id
email:
type: string
title: Email
role:
type: string
enum:
- admin
- member
title: Role
status:
type: string
title: Status
created_at:
type: string
format: date-time
title: Created At
expires_at:
type: string
format: date-time
title: Expires At
invite_url:
anyOf:
- type: string
- type: 'null'
title: Invite Url
type: object
required:
- id
- email
- role
- status
- created_at
- expires_at
title: TeamInvitePublic
TeamUsageRow:
properties:
oauth_identity_id:
anyOf:
- type: string
- type: 'null'
title: Oauth Identity Id
email:
anyOf:
- type: string
- type: 'null'
title: Email
role:
anyOf:
- type: string
enum:
- admin
- member
- type: 'null'
title: Role
credits_charged:
type: integer
title: Credits Charged
default: 0
call_count:
type: integer
title: Call Count
default: 0
type: object
title: TeamUsageRow
TeamUsageResponse:
properties:
window_days:
type: integer
title: Window Days
members:
items:
$ref: '#/components/schemas/TeamUsageRow'
type: array
title: Members
type: object
required:
- window_days
- members
title: TeamUsageResponse
PendingInvitePublic:
properties:
token:
type: string
title: Token
role:
type: string
enum:
- admin
- member
title: Role
team_label:
anyOf:
- type: string
- type: 'null'
title: Team Label
invited_by_email:
anyOf:
- type: string
- type: 'null'
title: Invited By Email
expires_at:
type: string
format: date-time
title: Expires At
type: object
required:
- token
- role
- expires_at
title: PendingInvitePublic
description: 'A pending invite addressed to the signed-in user, surfaced so they can
join regardless of whether the original link''s redirect survived login
(teams §5.3). The token is returned because the caller already proved they
own this verified email; acceptance still posts it to /accept-invite.'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError