Get the profile
GET /sessions/ returns the profile of a finished sign-in.
On this page
GET /sessions/?id=SESSION_ID
x-token: YOUR_APP_TOKENOne profile
Pass your session ID as id (or sessionid). Send the app token in the x-token header or as the token query argument.
curl -H "x-token: YOUR_APP_TOKEN" "https://auth.example.com/sessions/?id=7f3a9c21"{"id":"1001","name":"Jane Doe","firstname":"Jane","lastname":"Doe","email":"jane@example.com","photo":"","access_token":"...","expire":"2026-11-19T08:30:37.743Z","response":{"id":"1001","name":"Jane Doe"},"sessionid":"7f3a9c21","serviceid":"facebook"}The fields are described in The user profile.
If the user has not finished signing in, the session has expired, or the ID is unknown, OpenAuth answers:
[{"error":"Session not found"}]with status 404.
You can read the same profile again until the session expires, 15 minutes after the sign-in started. Save what you need in your own database.
All finished sign-ins
Without id, OpenAuth returns an array with the profiles of all finished sign-ins that have not expired yet:
curl -H "x-token: YOUR_APP_TOKEN" "https://auth.example.com/sessions/"[{"id":"1001","name":"Jane Doe",...,"sessionid":"7f3a9c21","serviceid":"facebook"}]Sign-ins still in progress are not in the list.