Sticky sessions
Session stickiness settings and live sessions of rotating services.
Base URL: https://fineproxy.org/account_new ·Download the OpenAPI 3.1 specification
Customer List Sticky Sessions
GET/api/v1/customer/services/{service_id}/proxy/sticky/sessions
List sticky sessions for a rotating proxy service.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/sessions" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (3)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
usernamerequired | string | |
sessionsrequired | array<StickySession> |
Customer Rotate Sticky Session
POST/api/v1/customer/services/{service_id}/proxy/sticky/sessions/{sid}/rotate
Rotate one sticky session to a new exit (free; not IP refresh).
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) | |
sidrequired | path | string |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/sessions/$SID/rotate" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (4)
| Name | Type | Description |
|---|---|---|
sidrequired | string | |
exitrequired | string | |
exit_addrrequired | string | |
statusoptional | string | Default: "rotated" |
Customer Delete Sticky Session
DELETE/api/v1/customer/services/{service_id}/proxy/sticky/sessions/{sid}
Delete one sticky session.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) | |
sidrequired | path | string |
Example request
curl -X DELETE "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/sessions/$SID" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
204Successful Response422Validation Error
Customer Purge Sticky Sessions
POST/api/v1/customer/services/{service_id}/proxy/sticky/purge
Purge all sticky sessions for the service.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/purge" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (1)
| Name | Type | Description |
|---|---|---|
deletedrequired | integer |
Customer Get Sticky Mode
GET/api/v1/customer/services/{service_id}/proxy/sticky/mode
Get sticky mode for a rotating service.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/mode" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (2)
| Name | Type | Description |
|---|---|---|
moderequired | string | |
pinoptional | string | null |
Customer Set Sticky Mode
PUT/api/v1/customer/services/{service_id}/proxy/sticky/mode
Set sticky mode.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
moderequired | string | sticky | rotating | pinnedsticky · rotating · pinned |
pinoptional | string | null | Exit ip:port when mode=pinned (validated by upstream) |
Example request
curl -X PUT "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/mode" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "sticky"
}'Responses
200Successful Response422Validation Error
Response fields (2)
| Name | Type | Description |
|---|---|---|
moderequired | string | |
pinoptional | string | null |
Customer Get Sticky Ttl
GET/api/v1/customer/services/{service_id}/proxy/sticky/ttl
Get per-user sticky TTL override.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/ttl" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (4)
| Name | Type | Description |
|---|---|---|
ttl_secondsoptional | integer | null | |
is_customoptional | boolean | Default: false |
global_default_ttloptional | integer | null | |
ttl_humanoptional | string | null |
Customer Set Sticky Ttl
PUT/api/v1/customer/services/{service_id}/proxy/sticky/ttl
Set per-user sticky TTL override.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
secondsrequired | integer | TTL override in seconds (minimum 30) |
Example request
curl -X PUT "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/ttl" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"seconds": 1
}'Responses
200Successful Response422Validation Error
Response fields (4)
| Name | Type | Description |
|---|---|---|
ttl_secondsoptional | integer | null | |
is_customoptional | boolean | Default: false |
global_default_ttloptional | integer | null | |
ttl_humanoptional | string | null |
Customer Reset Sticky Ttl
DELETE/api/v1/customer/services/{service_id}/proxy/sticky/ttl
Reset sticky TTL to global default.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X DELETE "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/sticky/ttl" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (4)
| Name | Type | Description |
|---|---|---|
ttl_secondsoptional | integer | null | |
is_customoptional | boolean | Default: false |
global_default_ttloptional | integer | null | |
ttl_humanoptional | string | null |