Skip to main content
POST
/
api
/
hyperliquid
/
accounts
/
{account_id}
/
setup
cURL
curl --request POST \
  --url https://api.production.hyperoru.com/api/hyperliquid/accounts/{account_id}/setup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "status": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Path Parameters

account_id
integer<int32>
required

Account ID

Body

application/json

Generic free-form JSON object used as a fallback response schema for endpoints whose payload is large, deeply nested, or best documented via their narrative description rather than a fixed Rust type.

Named so it shows up as a proper $ref in the generated spec instead of a bare serde_json::Value; clients that want stricter typing should reach for the domain-specific DTOs declared alongside the relevant handler.

Response

Account setup accepted

Generic { "status": "success", "message": "..." } ack used by handlers whose primary purpose is side effects (toggles, deletes, async starts).

status
string
required
Example:

"success"

message
string | null