Update Session
Endpoint: POST {{host}}/sessions
Authentication: Bearer Token (required)
Request
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | The user's phone number or username to update the session for (e.g. "263773591219") |
| companyUid | string (uuid) | Yes | The unique identifier of the company to associate with the updated session |
Request Schema
{
"headers": {
"Authorization": "Bearer <token>"
},
"body": {
"username": "263773591219",
"companyUid": "aa2250c4-1818-439e-923e-4ca87b71f4d0"
}
}