Skip to content
Hoody.com

Sessions persist cookies and authentication state across multiple HTTP requests, enabling stateful interactions with APIs that require login flows, session tokens, or multi-step workflows. Each session maintains a cookie jar that is automatically updated after every request that uses it.

Session lifecycle:

  1. Created automatically on first use with a session_id
  2. Cookies updated after each request
  3. Persists until explicitly deleted

Use these endpoints to inspect, retrieve, or delete sessions created by the Hoody cURL service.


Retrieve a list of all active cookie sessions, sorted by last used time.

NameInTypeRequiredDescription
pagequeryintegerNo1-based page number
limitqueryintegerNoItems per page (current handler returns all items when omitted)
{
"items": [
{
"id": "sess_8f3a2b1c",
"cookies": {
"session_token": "abc123def456",
"csrf_token": "xyz789"
},
"created_at": "2026-01-15T10:30:00.000Z",
"last_used": "2026-01-15T14:22:05.000Z"
},
{
"id": "sess_9d4e5f6a",
"cookies": {
"auth_token": "Bearer eyJhbGciOi..."
},
"created_at": "2026-01-14T08:15:00.000Z",
"last_used": "2026-01-15T09:00:00.000Z",
"scoped_cookies": [
{
"name": "auth_token",
"value": "Bearer eyJhbGciOi...",
"domain": "api.example.com",
"path": "/",
"secure": true,
"host_only": true
}
]
}
],
"meta": {
"total": 2,
"page": 1,
"limit": 20
}
}
Terminal window
curl -X GET "https://proj-abc123-cont456-curl-1.us-east-1.containers.hoody.icu/api/v1/curl/sessions?page=1&limit=20"

Retrieve complete details of a specific cookie session, including all stored cookies, creation time, and last usage timestamp.

Use cases:

  • Inspect authentication cookies
  • Debug session state issues
  • Verify cookie persistence
NameInTypeRequiredDescription
idpathstringYesSession identifier (caller-provided string)
{
"id": "sess_8f3a2b1c",
"cookies": {
"session_token": "abc123def456",
"csrf_token": "xyz789"
},
"created_at": "2026-01-15T10:30:00.000Z",
"last_used": "2026-01-15T14:22:05.000Z",
"scoped_cookies": [
{
"name": "session_token",
"value": "abc123def456",
"domain": "app.example.com",
"path": "/",
"secure": true,
"host_only": true
},
{
"name": "csrf_token",
"value": "xyz789",
"domain": "app.example.com",
"path": "/",
"secure": true,
"host_only": true
}
]
}
Terminal window
curl -X GET "https://proj-abc123-cont456-curl-1.us-east-1.containers.hoody.icu/api/v1/curl/sessions/sess_8f3a2b1c"

Retrieve only the cookie snapshot from a session (without metadata). Unique cookie names are returned as plain keys; if the same cookie name exists under multiple domain or path scopes, the snapshot uses scope-qualified keys like name@example.com/ to avoid silently dropping entries.

NameInTypeRequiredDescription
idpathstringYesSession identifier
{
"session_token": "abc123def456",
"csrf_token": "xyz789",
"auth_token@example.com/": "Bearer eyJhbGciOi..."
}
Terminal window
curl -X GET "https://proj-abc123-cont456-curl-1.us-east-1.containers.hoody.icu/api/v1/curl/sessions/sess_8f3a2b1c/cookies"

Permanently delete a session and all its stored cookies. This action cannot be undone.

NameInTypeRequiredDescription
idpathstringYesSession identifier to delete
{
"success": true,
"id": "sess_8f3a2b1c"
}
Terminal window
curl -X DELETE "https://proj-abc123-cont456-curl-1.us-east-1.containers.hoody.icu/api/v1/curl/sessions/sess_8f3a2b1c"