...
Method: POST
Endpoint:
/omni/userusers/{user_id}/login
System Authorization: Authorization: Key=your-auth-key
User Authentication: tokenKey: {token}
Paste code macro | ||||
---|---|---|---|---|
| ||||
{ "usercampaign_id": int<integer>, "extension": <string> } |
Field | Type | Description |
---|---|---|
user_id | integer | The ID of the user. |
campaign_id | integer | The ID of the campaign the user will be logged into. |
extension | string | The configured extension number of the user. |
Paste code macro | ||||
---|---|---|---|---|
| ||||
{ "success": int<boolean>, "extensiondetail": <string> } |
TokenKey
Field | Type | Description |
---|---|---|
success | boolean | success indicator of the action. |
detail | string | A detailed message of the action. |