APIContext Invites API
Manage and accept invites to join the platform.
Manage and accept invites to join the platform.
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/apicontext:apicontext-invites-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: APImetrics Invites API
description: API for the APImetrics platform
termsOfService: http://apimetrics.io/tos/
contact:
name: APIContext Support
url: https://apicontext.io/
email: support@apicontext.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: v2026-09-02
tags:
- name: Invites
description: Manage and accept invites to join the platform.
paths:
/api/2/account/invite/{invite_key_str}:
post:
tags:
- Invites
summary: Accept-Invite
description: Accept an org or project invite by urlsafe key (email must match caller).
operationId: accept-invite
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: invite_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Invites
summary: Reject-Invite
description: Delete (reject) an invite; email must match the caller's account.
operationId: reject-invite
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: invite_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/2/account/invite/{invite_id}/{invite_secret}/:
get:
tags:
- Invites
summary: Verify-Invite-Secret
description: Verify an invite link (invite_id + secret) and return the invite.
operationId: verify-invite-secret
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: invite_id
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+={0,2}$
title: Invite Code
- name: invite_secret
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+={0,2}$
title: Invite Code
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Invites
summary: Accept-Invite-Secret
description: Accept an invite by link (invite_id + secret).
operationId: accept-invite-secret
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: invite_id
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+={0,2}$
title: Invite Code
- name: invite_secret
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+={0,2}$
title: Invite Code
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/2/organizations/{org_id}/invites/:
get:
tags:
- Invites
summary: List-Org-Invites
description: List pending invites for the organisation, ordered by email.
operationId: list-org-invites
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
pattern: ^[a-z0-9]{3,400}$
title: Organization ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Invites
summary: Create-Org-Invite
description: Create an invite for an account to join the organisation; sends an email.
operationId: create-org-invite
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
pattern: ^[a-z0-9]{3,400}$
title: Organization ID
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrgInviteBody'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/2/organizations/{org_id}/invites/{invite_key_str}/:
delete:
tags:
- Invites
summary: Delete-Org-Invite
description: Delete a pending org invite. 404 if absent, 403 if org_id mismatch.
operationId: delete-org-invite
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: invite_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
- name: org_id
in: path
required: true
schema:
type: string
pattern: ^[a-z0-9]{3,400}$
title: Organization ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/2/projects/{project_key_str}/invites/:
get:
tags:
- Invites
summary: List-Project-Invites
description: List pending invites for the project, ordered by email.
operationId: list-project-invites
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: project_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectInviteListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Invites
summary: Create-Project-Invite
description: Create an invite for an account to join the project; sends an email.
operationId: create-project-invite
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: project_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProjectInviteBody'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/2/projects/{project_key_str}/invites/{invite_key_str}/:
delete:
tags:
- Invites
summary: Delete-Project-Invite
description: Delete a pending project invite. 404 if absent or from another project.
operationId: delete-project-invite
security:
- OAuth2: []
- ApiKey: []
parameters:
- name: invite_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
- name: project_key_str
in: path
required: true
schema:
type: string
pattern: ^[A-Za-z0-9_-]+$
title: Resource ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
CreateProjectInviteBody:
properties:
email:
type: string
title: Email
name:
anyOf:
- type: string
- type: 'null'
title: Name
access_level:
anyOf:
- type: string
- type: 'null'
title: Access Level
type: object
required:
- email
title: CreateProjectInviteBody
ProjectInviteListResponse:
properties:
meta:
$ref: '#/components/schemas/ProjectInviteListMeta'
results:
items:
$ref: '#/components/schemas/InviteResponse'
type: array
title: Results
type: object
required:
- meta
- results
title: ProjectInviteListResponse
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
InviteResponse:
properties:
id:
anyOf:
- type: string
- type: 'null'
title: Id
invited_by:
anyOf:
- type: string
- type: 'null'
title: Invited By
invited_email:
anyOf:
- type: string
- type: 'null'
title: Invited Email
email:
anyOf:
- type: string
- type: 'null'
title: Email
org_id:
anyOf:
- type: string
- type: 'null'
title: Org Id
project_id:
anyOf:
- type: string
- type: 'null'
title: Project Id
name:
anyOf:
- type: string
- type: 'null'
title: Name
access_level:
anyOf:
- type: string
- type: 'null'
title: Access Level
roles:
items:
type: string
type: array
title: Roles
last_update:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Update
created:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created
type: object
title: InviteResponse
CreateOrgInviteBody:
properties:
email:
type: string
title: Email
name:
anyOf:
- type: string
- type: 'null'
title: Name
access_level:
anyOf:
- type: string
- type: 'null'
title: Access Level
roles:
items:
type: string
type: array
title: Roles
type: object
required:
- email
title: CreateOrgInviteBody
ProjectInviteListMeta:
properties:
more:
type: boolean
title: More
next_cursor:
anyOf:
- type: string
- type: 'null'
title: Next Cursor
project_id:
anyOf:
- type: string
- type: 'null'
title: Project Id
type: object
required:
- more
title: ProjectInviteListMeta
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
InviteStatusResponse:
properties:
status:
type: string
title: Status
type: object
required:
- status
title: InviteStatusResponse
InviteListResponse:
properties:
meta:
$ref: '#/components/schemas/InviteListMeta'
results:
items:
$ref: '#/components/schemas/InviteResponse'
type: array
title: Results
type: object
required:
- meta
- results
title: InviteListResponse
InviteListMeta:
properties:
more:
type: boolean
title: More
next_cursor:
anyOf:
- type: string
- type: 'null'
title: Next Cursor
type: object
required:
- more
title: InviteListMeta
securitySchemes:
OAuth2:
type: oauth2
flows:
authorizationCode:
scopes:
openid: OpenID Connect identity
profile: User profile
email: User email address
authorizationUrl: https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io
tokenUrl: https://auth.apimetrics.io/oauth/token
ApiKey:
type: apiKey
in: header
name: X-Api-Key
x-provenance:
method: harvested
publisher: APIContext
source: https://client.apimetrics.io/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)