Skip to main content
POST
Create rebalancing proposal
Draft: specification in progress. Endpoints and fields may change.

Authorizations

Authorization
string
header
required

The organization's API key (tesa_live_... in production, tesa_test_... in the sandbox).

Headers

Idempotency-Key
string<uuid>

Unique value generated by the integration. Repeating the key with the same body returns the original response.

Body

application/json
alocacao_alvo
object[]
required

Target proportion per asset. The sum must equal 100.

motivo
string

Response

Proposal created.

id
string
Example:

"prop_8f2a1c"

tipo
enum<string>
Available options:
alocacao,
rebalanceamento
status
enum<string>
Available options:
pendente,
aprovada,
rejeitada,
executada
origem
enum<string>
Available options:
tesa,
cliente
motivo
string
movimentos
object[]
alocacao_resultante
object[]
transacoes
object[]

Available from the aprovada status onward.

criada_em
string<date-time>
decidida_em
string<date-time> | null
executada_em
string<date-time> | null