Skip to main content
POST
/
v1
/
intent
Create Intent
curl --request POST \
  --url https://api.anthid.com/v1/intent \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "action": {
    "create": {
      "order_side": "UNSPECIFIED",
      "order_spec": {
        "Limit": {
          "price": {
            "integer": 123,
            "precision": 1
          },
          "quantity": 123,
          "time_in_force": "UNSPECIFIED"
        }
      },
      "route_strategy": "SMART",
      "symbol": "<string>"
    }
  },
  "reference_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "intent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json
account_id
string<uuid>
required

Anthid broker account to execute the intent against.

action
object
required

Requested intent operation and its payload.

reference_id
string<uuid> | null

Optional caller-provided correlation ID for downstream reconciliation.

Response

Intent created

intent_id
string<uuid>
required