# Set availability status for live chat

**URL:** <https://community.hubspot.com/t/set-availability-status-for-live-chat/80267>\
**Category:** APIs & Integrations\
**Tags:** chat\
**Created:** [April 28, 2023, 1:35pm UTC](https://community.hubspot.com/t/set-availability-status-for-live-chat/80267 "2023-04-28T13:35:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MeetGajera](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MeetGajera](https://community.hubspot.com/u/MeetGajera)\
**Post date:** [April 28, 2023, 1:35pm UTC](https://community.hubspot.com/t/set-availability-status-for-live-chat/80267/1 "2023-04-28T13:35:08Z")

</div>

Hello,

I need one API for set availability status for live chat.

If any one have suggestions please help me.

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [May 1, 2023, 9:15am UTC](https://community.hubspot.com/t/set-availability-status-for-live-chat/80267/2 "2023-05-01T09:15:47Z")

</div>

Hello @MeetGajera

You can use the Conversations API to set your team’s availability status to online or offline, or to set individual team members’ availability status.

Here’s an example of how to set your team’s availability status to online

```lia-code-sample
POST https://api.hubapi.com/conversations/v1/settings

{
 "availabilityStatus": "ONLINE"
}

```

To set an individual team member’s availability status, you will need to include the team member’s ID in the API request. Here’s an example

```lia-code-sample
PUT https://api.hubapi.com/conversations/v1/agents/:agentId

{
 "availabilityStatus": "ONLINE"
}

```

Replace `:agentId` with the ID of the team member you want to set the availability status for. Note that you will need to authenticate your API request with an OAuth token or API key.

---

<div class="post-metadata">

**Author:** ![MeetGajera](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MeetGajera](https://community.hubspot.com/u/MeetGajera)\
**Post date:** [May 1, 2023, 10:38am UTC](https://community.hubspot.com/t/set-availability-status-for-live-chat/80267/3 "2023-05-01T10:38:36Z")

</div>

Hi @himanshurauthan  
It’s API is not working so if you have other suggetion please share with me.

---

<div class="post-metadata">

**Author:** ![cl77](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cl77/32/25810_2.png) [@cl77](https://community.hubspot.com/u/cl77)\
**Post date:** [January 31, 2024, 11:24am UTC](https://community.hubspot.com/t/set-availability-status-for-live-chat/80267/4 "2024-01-31T11:24:16Z")

</div>

Hi @himanshurauthan! The linked API does not exist. Any update on that yet?
