smplkit Invitations API
The Invitations API from smplkit — 4 operation(s) for invitations.
The Invitations API from smplkit — 4 operation(s) for invitations.
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/smplkit-com:smplkit-com-invitations-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: smplkit Invitations API
description: API for the smplkit platform.
version: 0.1.0
tags:
- name: Invitations
paths:
/api/v1/invitations:
post:
tags:
- Invitations
summary: Bulk Create Invitations
description: Send one or more invitations to join the account.
operationId: create_invitations
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationBulkCreateRequest'
responses:
'201':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationListResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
get:
tags:
- Invitations
summary: List Invitations
description: List invitations. Authenticated admins list invitations for their own account and may narrow by status. Unauthenticated callers must pass ``filter[token]`` to look up a specific invitation by its token — used to render the invitation preview before sign-in. The token-filter path always returns an array of 0 or 1 elements.
operationId: list_invitations
security:
- HTTPBearer: []
parameters:
- name: filter[status]
in: query
required: false
schema:
type:
- string
- 'null'
title: Filter[Status]
- name: filter[token]
in: query
required: false
schema:
type:
- string
- 'null'
title: Filter[Token]
- name: sort
in: query
required: false
schema:
type: string
description: 'Field to sort by. Prefix with `-` for descending order. Default: `-created_at`. Allowed values: `created_at`, `-created_at`, `email`, `-email`, `status`, `-status`.'
enum:
- created_at
- -created_at
- email
- -email
- status
- -status
default: -created_at
title: Sort
description: 'Field to sort by. Prefix with `-` for descending order. Default: `-created_at`. Allowed values: `created_at`, `-created_at`, `email`, `-email`, `status`, `-status`.'
- name: page[number]
in: query
required: false
schema:
type: integer
description: 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
default: 1
title: Page[Number]
description: 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
- name: page[size]
in: query
required: false
schema:
type: integer
description: Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
default: 1000
title: Page[Size]
description: Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
- name: meta[total]
in: query
required: false
schema:
type: boolean
description: When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
default: false
title: Meta[Total]
description: When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationListResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/api/v1/invitations/{id}/actions/revoke:
post:
tags:
- Invitations
summary: Revoke Invitation
description: Revoke a pending invitation by id.
operationId: revoke_invitation
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/api/v1/invitations/{id}/actions/resend:
post:
tags:
- Invitations
summary: Resend Invitation
description: Resend a pending invitation email by id.
operationId: resend_invitation
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/api/v1/invitations/accept:
post:
tags:
- Invitations
summary: Accept Invitation
description: Accept an invitation using a token from the invitation email.
operationId: accept_invitation
requestBody:
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationAcceptRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/InvitationResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- HTTPBearer: []
components:
schemas:
ListMeta:
properties:
pagination:
$ref: '#/components/schemas/PaginationMeta'
type: object
required:
- pagination
title: ListMeta
description: Top-level ``meta`` block included on every JSON:API list response.
InvitationResponse:
properties:
data:
$ref: '#/components/schemas/InvitationResource'
type: object
required:
- data
title: InvitationResponse
description: JSON:API single-resource response envelope for an invitation.
ErrorResponse:
properties:
errors:
items:
$ref: '#/components/schemas/Error'
type: array
title: Errors
type: object
required:
- errors
title: ErrorResponse
description: JSON:API error response envelope.
InvitationResource:
properties:
id:
type:
- string
- 'null'
title: Id
type:
type: string
enum:
- invitation
title: Type
attributes:
$ref: '#/components/schemas/Invitation'
type: object
required:
- type
- attributes
title: InvitationResource
description: 'JSON:API resource envelope for an invitation.
`id` must not be specified for create requests (the server assigns it).'
example:
attributes:
created_at: '2026-03-20T11:02:16.616Z'
email: mike@example.com
expires_at: '2026-04-20T11:02:16.616Z'
invited_by: d290f1ee-6c54-4b01-90e6-d701748f0851
role: MEMBER
status: PENDING
updated_at: '2026-03-20T11:02:16.616Z'
id: d4e5f6a7-b8c9-0123-defa-234567890123
type: invitation
InvitationBulkCreateRequest:
properties:
invitations:
items:
$ref: '#/components/schemas/InvitationCreateItem'
type: array
maxItems: 50
minItems: 1
title: Invitations
description: One to fifty invitations to send in a single request.
type: object
required:
- invitations
title: InvitationBulkCreateRequest
description: Bulk-create request body for the invitations endpoint.
example:
invitations:
- email: alice@example.com
role: MEMBER
- email: bob@example.com
role: MEMBER
InvitationAcceptRequest:
properties:
token:
type: string
minLength: 1
title: Token
description: Invitation token from the email link.
type: object
required:
- token
title: InvitationAcceptRequest
description: Body for the invitation-accept endpoint.
example:
token: eyJhbGciOiJIUzI1NiJ9...
InvitationCreateItem:
properties:
email:
type: string
format: email
title: Email
description: Email address to send the invitation to.
role:
type: string
title: Role
description: Role to assign on acceptance. One of `ADMIN`, `MEMBER`, or `VIEWER`. `OWNER` cannot be assigned via invitation. Case-insensitive on input.
default: MEMBER
groups:
items:
type: string
type:
- array
- 'null'
title: Groups
description: Optional list of Environment Access Group ids to add the invitee to on acceptance. Every accepted invitation also yields the reserved `default` membership, regardless of this field. Unknown group ids are rejected at create time with `422`.
type: object
required:
- email
title: InvitationCreateItem
description: One invitation in a bulk-create request.
example:
email: alice@example.com
groups:
- production_stewards
role: MEMBER
InvitationListResponse:
properties:
data:
items:
$ref: '#/components/schemas/InvitationResource'
type: array
title: Data
meta:
$ref: '#/components/schemas/ListMeta'
type: object
required:
- data
- meta
title: InvitationListResponse
description: JSON:API collection response for invitations.
PaginationMeta:
properties:
page:
type: integer
title: Page
description: 1-based page number returned.
size:
type: integer
title: Size
description: Number of items per page.
total:
type:
- integer
- 'null'
title: Total
description: Total number of matching items across all pages. Present only when the request included `meta[total]=true`.
total_pages:
type:
- integer
- 'null'
title: Total Pages
description: Total number of pages at the requested page size. Present only when the request included `meta[total]=true`.
type: object
required:
- page
- size
title: PaginationMeta
description: 'Pagination block returned inside ``meta`` on every list response.
``page`` and ``size`` are always present and echo the parameters that
served the response (their defaults when the client omitted them).
``total`` and ``total_pages`` are present only when the request included
``meta[total]=true``.'
Error:
properties:
status:
type: string
title: Status
title:
type: string
title: Title
detail:
type:
- string
- 'null'
title: Detail
source:
additionalProperties: true
type:
- object
- 'null'
title: Source
type: object
required:
- status
- title
title: Error
description: Single JSON:API error object.
Invitation:
properties:
email:
type:
- string
- 'null'
title: Email
description: Email address the invitation was sent to.
readOnly: true
role:
type:
- string
- 'null'
title: Role
description: Role to assign on acceptance. One of `ADMIN`, `MEMBER`, or `VIEWER`.
readOnly: true
status:
type:
- string
- 'null'
title: Status
description: Lifecycle state of the invitation. One of `PENDING`, `ACCEPTED`, `REVOKED`, or `EXPIRED`.
readOnly: true
invited_by:
type:
- string
- 'null'
title: Invited By
description: UUID of the user who sent the invitation.
readOnly: true
groups:
items:
type: string
type:
- array
- 'null'
title: Groups
description: Environment Access Group ids the invitee will be added to on acceptance, in addition to the always-applied `default` group. Empty array or `null` means default-only.
readOnly: true
account_name:
type:
- string
- 'null'
title: Account Name
description: Name of the account the recipient is being invited to join.
readOnly: true
inviter_display_name:
type:
- string
- 'null'
title: Inviter Display Name
description: Display name of the user who sent the invitation.
readOnly: true
token:
type:
- string
- 'null'
title: Token
description: Single-use token that the recipient redeems to accept the invitation. Echoed on responses so the inviting client can construct the acceptance link.
readOnly: true
expires_at:
type:
- string
- 'null'
format: date-time
title: Expires At
description: When the invitation token stops being redeemable.
readOnly: true
created_at:
type:
- string
- 'null'
format: date-time
title: Created At
description: When the invitation was issued.
readOnly: true
updated_at:
type:
- string
- 'null'
format: date-time
title: Updated At
description: When the invitation record was last modified.
readOnly: true
type: object
title: Invitation
description: 'An invitation for a person to join an account.
Invitations carry a time-limited token; the recipient redeems the
token to become a member of the inviting account at the assigned role.'
example:
created_at: '2026-03-20T11:02:16.616Z'
email: mike@example.com
expires_at: '2026-04-20T11:02:16.616Z'
invited_by: d290f1ee-6c54-4b01-90e6-d701748f0851
role: MEMBER
status: PENDING
updated_at: '2026-03-20T11:02:16.616Z'
securitySchemes:
HTTPBearer:
type: http
description: JWT access token or API key (sk_api_*)
scheme: bearer