Table of Content

    Agents API

    • July 13, 2025
    • 1 mins read

    Table of Content

      List all agents data

      To access all data use the below CURL replacing {account_id} from your account.

      Learn how to get your Account ID.

      Learn how to get Authorization key.

      curl --location -g 'https://api.revechat.com/api/agents/{account_id}' \
      --header 'Authorization: paste your authorization key here'
      Example:
      curl --location 'https://api.revechat.com/api/agents/8683034' \
      --header 'Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50SWQiOiI4NjgzMDM0Iiwic3ViIjoiYXV0aG9yaXphdGlvbiIsImV4cCI6MTc1NDk4MTM4MSwiaWF0IjoxNzUyMzg5MzgxfQ.yZ2jyKiY-dKCwDU_V09shdOugJKHaczMWlVFuitYQ9Q' \
      --header 'Cookie: revechatLocaleCookie=en'

      All agent API Parameters

      FieldCategoryTypeDescriptionExample
      page_nooptionalNumberThe requested page number.?page_no=1

      View Success Response
      {
          "status": "success",
          "message": "Agents found",
          "body": [
              {
                  "agent_id": 77273,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 5,
                  "additional_info": null,
                  "last_login_time": 1752391069243,
                  "last_name": "Tuhin Design",
                  "first_name": "Asif",
                  "create_time": 1643532522000,
                  "departments": [
                      {
                          "deptName": "WhatsApp",
                          "clOperatorCode": null,
                          "deptDescription": "",
                          "isAccessAllReport": null,
                          "id": 4213,
                          "active": false
                      }
                  ]
              },
              {
                  "agent_id": 81830,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 5,
                  "additional_info": null,
                  "last_login_time": 1752391945383,
                  "last_name": "",
                  "first_name": "Mohaimin",
                  "create_time": 1655109292000,
                  "departments": []
              },
              {
                  "agent_id": 86682,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 20,
                  "additional_info": null,
                  "last_login_time": 1752379578660,
                  "last_name": "Bot",
                  "first_name": "Anower",
                  "create_time": 1663814705000,
                  "departments": [
                      {
                          "deptName": "Facebook",
                          "clOperatorCode": null,
                          "deptDescription": "",
                          "isAccessAllReport": null,
                          "id": 4214,
                          "active": false
                      },
                      {
                          "deptName": "WhatsApp",
                          "clOperatorCode": null,
                          "deptDescription": "",
                          "isAccessAllReport": null,
                          "id": 4213,
                          "active": false
                      }
                  ]
              },
              {
                  "agent_id": 92352,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 4,
                  "additional_info": null,
                  "last_login_time": 1751881330730,
                  "last_name": "Qa",
                  "first_name": "Hamid",
                  "create_time": 1674635747000,
                  "departments": []
              },
              {
                  "agent_id": 93441,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 10,
                  "additional_info": null,
                  "last_login_time": 1742138673428,
                  "last_name": "Hassan",
                  "first_name": "Rahat",
                  "create_time": 1676566247000,
                  "departments": []
              },
              {
                  "agent_id": 95754,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1748753954220,
                  "last_name": "dev",
                  "first_name": "Noman",
                  "create_time": 1679456488000,
                  "departments": []
              },
              {
                  "agent_id": 99004,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 1,
                  "additional_info": null,
                  "last_login_time": 1752025518948,
                  "last_name": "Dev Team1",
                  "first_name": "Reve",
                  "create_time": 1684640788000,
                  "departments": []
              },
              {
                  "agent_id": 99005,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 1,
                  "additional_info": null,
                  "last_login_time": 1748088177089,
                  "last_name": "Shermin",
                  "first_name": "Sheyla",
                  "create_time": 1684640943000,
                  "departments": []
              },
              {
                  "agent_id": 106372,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1752044783049,
                  "last_name": "QA",
                  "first_name": "Tushar",
                  "create_time": 1698910016000,
                  "departments": []
              },
              {
                  "agent_id": 109358,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1737091771101,
                  "last_name": "",
                  "first_name": "TestRahat",
                  "create_time": 1702448909000,
                  "departments": []
              },
              {
                  "agent_id": 113425,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1729268702874,
                  "last_name": "",
                  "first_name": "Mehedi",
                  "create_time": 1724300955000,
                  "departments": []
              },
              {
                  "agent_id": 113593,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "ONLINE",
                  "concurrent_chat_limit": 0,
                  "additional_info": null,
                  "last_login_time": 1728558213403,
                  "last_name": "Qwerty",
                  "first_name": "Sourabh",
                  "create_time": 1725354508000,
                  "departments": []
              },
              {
                  "agent_id": 113919,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "8801686321456",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 0,
                  "additional_info": null,
                  "last_login_time": 1740934857371,
                  "last_name": "",
                  "first_name": "Hafeez",
                  "create_time": 1727331335000,
                  "departments": []
              },
              {
                  "agent_id": 114061,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1728108209475,
                  "last_name": "Sales",
                  "first_name": "BD",
                  "create_time": 1727938468000,
                  "departments": []
              },
              {
                  "agent_id": 114812,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "SDK Dev",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1739943584438,
                  "last_name": "SDK Dev 1",
                  "first_name": "Android",
                  "create_time": 1732686888000,
                  "departments": []
              },
              {
                  "agent_id": 114813,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": null,
                  "last_name": "SDK Dev 1",
                  "first_name": "iOS",
                  "create_time": 1732686939000,
                  "departments": []
              },
              {
                  "agent_id": 115124,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 0,
                  "additional_info": null,
                  "last_login_time": 1738466982705,
                  "last_name": "",
                  "first_name": "Ahsan",
                  "create_time": 1734930585000,
                  "departments": []
              },
              {
                  "agent_id": 115722,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 20,
                  "additional_info": null,
                  "last_login_time": 1750145010664,
                  "last_name": "",
                  "first_name": "Sujon",
                  "create_time": 1738727804000,
                  "departments": []
              },
              {
                  "agent_id": 116353,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 5,
                  "additional_info": null,
                  "last_login_time": 1750046689811,
                  "last_name": "Rahman",
                  "first_name": "Hachibur",
                  "create_time": 1742370184000,
                  "departments": [
                      {
                          "deptName": "Facebook",
                          "clOperatorCode": null,
                          "deptDescription": "",
                          "isAccessAllReport": null,
                          "id": 4214,
                          "active": false
                      },
                      {
                          "deptName": "WhatsApp",
                          "clOperatorCode": null,
                          "deptDescription": "",
                          "isAccessAllReport": null,
                          "id": 4213,
                          "active": false
                      }
                  ]
              },
              {
                  "agent_id": 116931,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": 1746524463293,
                  "last_name": "",
                  "first_name": "Rasheek",
                  "create_time": 1746434352000,
                  "departments": []
              },
              {
                  "agent_id": 117342,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 0,
                  "additional_info": null,
                  "last_login_time": 1750040917371,
                  "last_name": "Siddique",
                  "first_name": "Afjal",
                  "create_time": 1748752360000,
                  "departments": []
              },
              {
                  "agent_id": 118647,
                  "account_id": "8683034",
                  "role": null,
                  "email": "[email protected]",
                  "designation": "",
                  "phone_no": "",
                  "status": "OFFLINE",
                  "concurrent_chat_limit": 2,
                  "additional_info": null,
                  "last_login_time": null,
                  "last_name": "dev",
                  "first_name": "Sayeem",
                  "create_time": 1751269506000,
                  "departments": []
              }
          ]
      }

      Get a single agent details

      To access a single chat details you need to use the below CURL replacing {account_id} from your account and the {agent_id} of that particular chat.

      curl --location -g 'https://api.revechat.com/api/agents/{account_id}/{agent_id}' \
      --header 'Authorization: paste your authorization key here'
      Example:
      curl --location 'https://api.revechat.com/api/agents/8683034/81830' \
      --header 'Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50SWQiOiI4NjgzMDM0Iiwic3ViIjoiYXV0aG9yaXphdGlvbiIsImV4cCI6MTc1NDk4MTM4MSwiaWF0IjoxNzUyMzg5MzgxfQ.yZ2jyKiY-dKCwDU_V09shdOugJKHaczMWlVFuitYQ9Q' \
      --header 'Cookie: revechatLocaleCookie=en'

      Single Agent API with Parameters

      FieldCategoryTypeDescriptionExample
      agent_idrequiredNumberThe id of the chat./{agent_id}

      View Success Parameter Here
      {
          "status": "success",
          "message": "Agents found",
          "body": {
              "agent_id": 81830,
              "account_id": "8683034",
              "role": null,
              "email": "[email protected]",
              "designation": "",
              "phone_no": "",
              "status": "OFFLINE",
              "concurrent_chat_limit": 5,
              "additional_info": null,
              "last_login_time": 1752391945383,
              "last_name": "",
              "first_name": "Mohaimin",
              "create_time": null,
              "departments": []
          }
      }

      Any questions? Please email us at [email protected]

      AUTHOR’S BIO

      Mohaimin Talha is a seasoned Product Manager, known for his ability to combine creativity with analytical thinking. His strategic vision and customer-centric approach make him a key driver of product success and business growth.

      0:00 / 0:00