Skip to main content
GET
/
me
/
signins
Get Active Sessions
curl --request GET \
  --url https://{deploymentHost}/me/signins
{
  "status": 200,
  "message": "",
  "data": [
    {
      "id": "signin_987654321",
      "user_id": "user_456789123",
      "device_info": {
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
        "device_type": "desktop",
        "browser": "Chrome",
        "os": "macOS"
      },
      "location": {
        "ip_address": "203.0.113.1",
        "country": "United States",
        "city": "San Francisco",
        "region": "California"
      },
      "current_session": true,
      "created_at": "2024-01-01T12:00:00Z",
      "last_activity": "2024-01-15T14:30:00Z"
    },
    {
      "id": "signin_123456789",
      "user_id": "user_456789123",
      "device_info": {
        "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15",
        "device_type": "mobile",
        "browser": "Safari",
        "os": "iOS"
      },
      "location": {
        "ip_address": "198.51.100.42",
        "country": "United States",
        "city": "New York",
        "region": "New York"
      },
      "current_session": false,
      "created_at": "2024-01-10T08:00:00Z",
      "last_activity": "2024-01-14T22:15:00Z"
    }
  ],
  "session": {
    "signin_attempts": [],
    "signins": [
      {
        "id": "signin_987654321",
        "user_id": "user_456789123",
        "created_at": "2024-01-01T12:00:00Z"
      }
    ],
    "signup_attempts": [],
    "active_signin": {
      "id": "signin_987654321",
      "user_id": "user_456789123",
      "created_at": "2024-01-01T12:00:00Z"
    }
  },
  "errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Response

Active sessions retrieved successfully

status
integer
required

HTTP status code

message
string
required

Response message (empty for success)

data
any
required

Response data (can be any type)

session
object
required
errors
object[]
required

Array of error objects (empty for success)