SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Sessions

List active sessions

GET/api/v1/auth/sessions

Lists every active session on the account, with the current one flagged.

Requires Authorization
Session
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/auth/sessions \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": [
    {
      "id": "sess_1a2b3c",
      "deviceName": "Chrome on macOS",
      "ipAddress": "154.72.10.4",
      "isCurrent": true,
      "createdAt": "2026-02-14T18:30:00.000Z"
    },
    {
      "id": "sess_4d5e6f",
      "deviceName": "SwiftGoma iOS App",
      "ipAddress": "41.243.8.90",
      "isCurrent": false,
      "createdAt": "2026-02-01T09:12:00.000Z"
    }
  ]
}