> 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/visit/check-out-with-invitee-id.md).

# Check-out with Invitee Id

## Check-out with invitee id

<mark style="color:green;">`POST`</mark> `https://api.w3lcome.com/v1/visit/inviteeCheckout/:inviteeId`

This endpoint allows you to check-out a visit with an invitee id.

#### Path Parameters

| Name      | Type   | Description       |
| --------- | ------ | ----------------- |
| inviteeId | string | ID of the invitee |

#### Headers

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

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

```javascript
{
    "type": "visit",
    "id": "E9053F0C-C127-4B36-9214-295B6862287E",
    "checkinAt": "2019-09-05T20:02:24-03:00",
    "checkoutAt": "2019-09-05T20:15:51-03:00",
    "isInsideCompany": false,
    "name": "Alisson Enz Rossi",
    "host": {
        "type": "host",
        "id": "b98ff2895de825dec050af67d57a23e1",
        "name": "Gabriel Gratival",
        "email": "gabriel@w3lcome.com",
        "isActive": true
    },
    "phone": "(43) 9 9982-0420",
    "company": "W3lcome",
    "customFields": []
}
```

{% endtab %}

{% tab title="400 Error" %}

```javascript
{
    "type": "DID_NOT_CHECKIN"
}
```

{% endtab %}
{% endtabs %}
