---
title: "Invite a team member"
method: POST
path: "/team/invitations"
tags: ["Team"]
---

# Invite a team member

`POST /team/invitations`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/team/invitations`
- Auth: API key in header `Authorization`

Emails an invitation to join the account. Admin seats depend on the plan: a plan without team invitations answers 402. Only admins invite, and an agent's call always asks the user first.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `email` string, email, required
  - `role` 'admin' | 'member'

## Response `201`

Invitation sent

- TeamInvitation
  - `object` string, required
  - `email` string, required
  - `role` string, required
  - `sent_at` string, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `402`: The plan does not include team invitations
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 8 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `402`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - …4 more
- **2026-10-24** `2a302ee0aae3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/team/invitations/post.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
