Skip to content

Cookie sessions preserve authentication state and cookies across multiple HTTP requests. Use these endpoints to inspect, list, and manage sessions created during curl-based interactions. Sessions are created automatically on first use with a session_id and persist until explicitly deleted.


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

NameInTypeRequiredDescription
pagequeryintegerNo1-based page number (optional)
limitqueryintegerNoItems per page (optional; current handler returns all items when omitted)

This endpoint accepts no request body.

Terminal window
curl -G https://api.hoody.com/api/v1/curl/sessions \
-H "Authorization: Bearer <token>" \
--data-urlencode "page=1" \
--data-urlencode "limit=20"

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

NameInTypeRequiredDescription
idpathstringYesSession identifier (caller-provided string)

This endpoint accepts no request body.

Terminal window
curl https://api.hoody.com/api/v1/curl/sessions/sess_abc123def456 \
-H "Authorization: Bearer <token>"

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

This endpoint accepts no request body.

Terminal window
curl https://api.hoody.com/api/v1/curl/sessions/sess_abc123def456/cookies \
-H "Authorization: Bearer <token>"

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

NameInTypeRequiredDescription
idpathstringYesSession identifier to delete

This endpoint accepts no request body.

Terminal window
curl -X DELETE https://api.hoody.com/api/v1/curl/sessions/sess_abc123def456 \
-H "Authorization: Bearer <token>"