---
title: "Get an invitation"
method: GET
path: "/invitations/{invitation_code}"
tags: ["invitations"]
---

# Get an invitation

`GET /invitations/{invitation_code}`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/invitations/{invitation_code}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/invitations/:invitation_code/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns an invitation data by code.

## Path parameters

- `invitation_code` string, required

## Response `200`

Successful operation

- ModelsSSOInvitation
  - `accounts_signup_url` string: AccountsSignupURL is a legacy field, should be removed one more after this issue gets done https://github.com/toggl/accounts-fe/issues/704
  - `code` string
  - `email` string
  - `organization_id` integer
  - `sender_email` string
  - `sender_name` string
  - `sso` boolean
  - `token` string

## Other responses

- `404`: Invitation not found
- `500`: Internal Server Error

---

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