v1
latestOpenAPI 3.0.02026-07-144431.2 KBGet session
Retrieves information from a previously created sesssion.
⚠️ The Session Manager API uses the vtex_session and vtex_segment cookies to store the data required to identify the user and the session. These cookies are stored in the user's browser when the session is created and sent automatically in every request to that domain. You will have to reproduce that by sending these cookies as headers to Session Manager API in order for it to work outside of a browser environment.
Permissions
This endpoint does not require authentication or permissions.
Query parameters
Items are the keys of the values you wish to get. They follow the format namespace1.key1,namespace2.key2.
If you wish to recover the data sent on Create new session, it should be public.{key}, replacing {key} with the name of the custom property you created. Following the example request presented in Create new session, it would be public.variable1,public.variable2.
If you want to retrieve all keys from Session Manager, you can use the wildcard operator (*) as a value for this query parameter.
Response
OK