Get User State
Users
User status
Query and update the status of a user
GET
Get User State
Documentation Index
Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
Use this file to discover all available pages before exploring further.
Description
Manage the operational status of a user within your bot. You can check whether a contact is in manual or automatic mode and update this setting to control who responds to conversations.Get User Status
Endpoint
Path Parameters
User’s phone number (without the
+ sign).Response Example
Change User Status
Endpoint
Request Body
Time in seconds that the manual state will remain before automatically expiring.
Identifier of the bot associated with the user.
User’s phone number (without the
+ sign).Target state. Allowed values:
"manual" or "auto".Request Example
cURL
Response Example
Common Errors
400- Could not get or update the user’s status.401- Invalid or missing credentials.404- User or bot not found.