---
title: "Accept a tenant invitation (any authenticated user)"
method: POST
path: "/api/v1/tenants/me/invitations/accept"
tags: ["Tenants"]
---

# Accept a tenant invitation (any authenticated user)

`POST /api/v1/tenants/me/invitations/accept`

## Request

- Base URL: `https://api.hub-equity.com`
- URL: `https://api.hub-equity.com/api/v1/tenants/me/invitations/accept`
- Auth: HTTP bearer

Accepts an invitation token: when it is valid (not expired, revoked or already used), the caller joins the workspace with the invited role and the invitation is marked accepted.

## Request body

- AcceptInvitationRequest
  - `token` string, uuid, required: The invitation token received from the workspace admin.

## Response `200`

Invitation accepted, caller joined the tenant

- ApiResponseAcceptInvitationResponse
  - `success` boolean, required
  - `data` AcceptInvitationResponse
    - `tenant_id` string, uuid, required
    - `role` string, required
    - `joined_at` string, date-time, required
  - `error` ApiError: API error details.
    - `code` string, required
    - `message` string, required
    - `details` object, nullable
  - `meta` ApiMeta: API response metadata. Pagination fields (``page`` / ``per_page`` / ``total``) are populated on collection endpoints only. They are omitted from the payload on single-resource endpoints.
    - `timestamp` string, date-time
    - `request_id` string, nullable
    - `page` integer, nullable
    - `per_page` integer, nullable
    - `total` integer, nullable
  - `links` ApiLinks: HATEOAS-style pagination cursors. Host-relative path + query links for a collection page. Present on collection endpoints, ``null`` fields where a page doesn't exist (``next`` on the last page, ``prev`` on the first). The whole ``links`` object is omitted from single-resource responses (see ``ApiResponse`` serializer).
    - `self` string, nullable
    - `first` string, nullable
    - `prev` string, nullable
    - `next` string, nullable
    - `last` string, nullable

## Other responses

- `400`: Token invalid / expired / already accepted / revoked
- `401`: Authentication required
- `409`: No seat left on the workspace's plan
- `422`: Validation Error

---

[API](https://skmtc.dev/hub-equity/apis/hub-equity-api.md) · [All operations](https://skmtc.dev/hub-equity/apis/hub-equity-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hub-equity/apis/hub-equity-api/revisions/e8eeda5dc13e?raw)
