---
title: "Get a user invitation by token (public)"
method: GET
path: "/v1/user_invitations/{id}"
tags: ["User Invitations"]
---

# Get a user invitation by token (public)

`GET /v1/user_invitations/{id}`

## Request

- Base URL: `https://identity-api.paymongo.com`
- URL: `https://identity-api.paymongo.com/v1/user_invitations/{id}`
- Auth: none required

Returns the invitation corresponding to the token in the URL path. Used by the accept-invitation flow.

## Path parameters

- `id` string, required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` object
    - `attributes` UserInvitationAttributesDTO
      - `created_at` integer
      - `email` string
      - `expires_at` integer
      - `organization_id` string
      - `organization_trade_name` string
      - `roles` string[]
      - `status` string
      - `token` string
      - `updated_at` integer
    - `id` string
    - `type` string
  - `has_more` boolean

## Other responses

- `404`: Not Found
- `410`: Gone
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/identity.md) - [All operations](https://skmtc.dev/paymongo/apis/identity/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/identity/revisions/cc3056164874?raw)
