/mcp<wrapUpTimer>30</wrapUpTimer> </User> Step 6 Get the loginId from the loginId field. All subsequent Finesse REST API requests must use the loginId from the <User> response, instead of the username/user_id/loginName. Example: To login the agent sjefferson using the Finesse REST API, you must use the loginId of 98411. https://finesse1.xyz.com/finesse/api/User/98411 <User> <state>LOGIN</state> <extension>98411</extension> </User> Step 7 To avoid the authentication and authorization flow again, the access token must be refreshed before the expiry time. Use the Single Sign-On—Refresh Existing Access Token with the return_user query parameter set to yes to refresh the user's access token. The username must be provided in a cookie or a URL query parameter with a key of cc_username. The value is a URL encoded username, which can be the loginName or peripheralId for whom the token is requested. Example Response: {"token":"eyJhbGciOiJkaXIiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..0 KelINtPSTQJGHthEo6GGg.iJl7anAh8Edt07pOQmHZ7BLgK-ozMiy5Fy42Pkj8FQ3xUMQvq5coGwSnHCEr1 deuNFt5i6685L5aHZzGe3VChWRPOnHveKaOEbgjgdNAhFXnIF033H4hZ-sKf zGSdIiXDIqv7llOGhzwDWw jYA7icEgIqaTttu5VVMPsI5eCwwd8uf1SXA7_rNU9bM1Kkra-v PRyqJX4h2gR-1vbk1q3L1GEtaAnWqDIe 4MAZELtuD-J5O4Kid26lwKzdq5PL_PH51-lyw_Mz ds0JiE4ZWcG_JmAa4BtZfKGs1z4S6Laj7scxi7WW7u 5-lfBsn6ixhouC3Jdz4N3FJQZ6IizQ 0tUwOWb0HoD6tsU6mH4r5tYeRjtGliTJff71BIAkZl6N1fCB0ZN2 P5lPMWPqfIgqw8r0H5Ar 1xDNpmfs_b0e0lHwfCczWKqn96wFIUeP0IBpk2uv7-8C5NvM6U72Vbs9SjUH7T 3b8zZzt9mg Hnu2fdluW5OfrdLxF6BGiI20_p6jjI0D7HPrqpX-I7RGSWB79fEFm0IOFAEy04kwvRJBJx8hI Mu-2AHc38NW7i-mZVzbE28K2pPwyeFMR6UWKIl0ztDsAyEQA89DI1bOukFa57CDQzF4mR5s zmczaLeoXTAC hY8qPMvAEjMtAvSIQSwb9W-D6HoxBQM6gF-Sth1eD2n82gkbb1-Gg4GF3gzo Sa-kf1sYj62mF4PUsJVN4 cFXRgzdyhjkDielwabBJPbt0oAXR2qj3qH7TBxLj4hYdKbPq2b Dd9eFNeMhTMX49hYrONGWaSz3CdBb3fby1 77ALj-AHlGU2mbZ1Ofa3hUj5h1H3p7QwGWGs1Ka 56DHK3cTcPszAvMdtVF0MZsK9ODr0gJVFFKPvoY2albd3 xG6rbbQmvWGoSYWgT7l2dzUYokEOE jN6halaZmOBcnjxS-NeqCRrve-22zwqFwD-fEdjRf9ATtq32UcB_Rml nubDJOndJQ.5kix_gQZ Gr6xGye3cUE18g","expires_in":3564,"user_id":"sjefferson", "realm":"finesse.com","user_principal":"sjefferson@finesse.com"} TeamMessage The TeamMessage object represents messages that can be sent by the supervisor or the Finesse administrator to any or all teams. It contains the URI, team message, and id of the sender. The supervisor or administrator uses the TeamMessage APIs to create or delete a team message, return all active messages for a team, and return all messages created by a user. The TeamMessage object is structured as follows: <TeamMessage> <uri>/finesse/api/TeamMessage/be1598bb-bb2a-4dfc-8c01-91ec10b029af</uri> <id>be1598bb-bb2a-4dfc-8c01-91ec10b029af</id> Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 198 Cisco Finesse Desktop APIs TeamMessage