> For the complete documentation index, see [llms.txt](https://docs.w3lcome.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.w3lcome.com/invitee/retrieve-a-list-of-invitees.md). Agents can also search and read this documentation through its [MCP server](https://docs.w3lcome.com/~gitbook/mcp).

# Retrieve a List of Invitees

## Get Invitees

<mark style="color:blue;">`GET`</mark> `https://api.w3lcome.com/v1/invitees`

This endpoint allows you to get a list of invitees

#### Query Parameters

| Name       | Type   | Description                                                                                                                                                           |
| ---------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| limit      | number | <p>The number of invitees you want to retrieve<br><strong>Default: 500 - Min: 1 - Max: 2000</strong></p>                                                              |
| offset     | number | <p>The offset from the first invitee. Used to paginate.<br><strong>Default: 0 - Min: 0 - Max: ∞</strong></p>                                                          |
| queryKey   | string | <p>Query by any field in the Invitee queryable fields table<br><strong>Default: none</strong></p>                                                                     |
| queryOp    | string | <p>Add the type of the query.<br><strong>Default: none</strong><br>Accepted values: <code><</code> <code><=</code> <code>==</code> <code>></code> <code>>=</code></p> |
| queryValue | string | <p>Insert the value you want to query.<br><strong>Default: none</strong></p>                                                                                          |

#### Headers

| Name           | Type   | Description      |
| -------------- | ------ | ---------------- |
| Content-Type   | string | application/JSON |
| Authentication | string | Basic `token`    |

{% tabs %}
{% tab title="200 Success" %}

```javascript
{
    "invitees": [
        {
            "type":"invitee",
            "id":"01f9a209-644d-4c53-9207-26a304f51a1e",
            "expectedAt":"2019-09-04T14:00:00-03:00",
            "status":"confirmed",
            "lang":"pt-BR",
            "name":"Mateus Schmidt",
            "host": {
                "type":"host",
                "id":"142e81feb92c0a66ee70fd7f4e57a28d",
                "email":"alisson@w3lcome.com",
                "name":"Alisson Enz Rossi",
                "position":"CTO",
                "sector":"IT",
                "phone":"(43) 99982-0420",
                "countryCode":"+55"
            },
            "phone":"(43) 9 9999-9999",
            "email":"mateus@w3lcome.com",
            "company":"W3lcome",
            "customFields":[{
                "id":"IduZUQEh3",
                "name":"Qual sua idade?",
                "type":"Text",
                "value":"26"
            }],
            "notes":"",
            "requiresAuthorization":false
        },
        {
            ...
        }
    ],
    "size": 10
}
```

{% endtab %}

{% tab title="404 Error" %}

```javascript
{
    "type": "INVALID_QUERY_KEY"
}
```

{% endtab %}
{% endtabs %}

## Queryable Fields

| queryKey   | Description                                      |
| ---------- | ------------------------------------------------ |
| expectedAt | [Unix timestamp](https://www.unixtimestamp.com/) |
| name       | String                                           |
| hostId     | String                                           |
| hostName   | String                                           |
| phone      | String                                           |
| cpf        | String                                           |
| rg         | String                                           |
| document   | String                                           |
| email      | String                                           |
| address    | String                                           |
| company    | String                                           |
| position   | String                                           |
| sector     | String                                           |
| cardNumber | Number?                                          |
| status     | String \[**confirmed\|arrived\|canceled]**       |
