---
title: "Invite Collaborator"
method: POST
path: "/api/v1/trips/{externalId}/collaborators/invite"
tags: ["Collaboration"]
---

# Invite Collaborator

`POST /api/v1/trips/{externalId}/collaborators/invite`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v1/trips/{externalId}/collaborators/invite`
- Auth: HTTP bearer

Send an invitation to collaborate on a trip.

## Request body

- object
  - `email` string, required: The invitee's email.
  - `role` string, nullable: Role: viewer, editor, admin.

## Response `201`

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `403`: guest_not_allowed: A guest account tried an action that needs a real account.
- `409`: already_collaborator: The invitee already collaborates on the trip.
- `422`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
