Webhooks
Register webhook destination
Draft: specification in progress. Endpoints and fields may change.
Registers a webhook destination. The secret used to verify the signature
is shown only once, in this response. Scope: admin.
POST
Register webhook destination
Authorizations
The organization's API key (tesa_live_... in production, tesa_test_... in the sandbox).
Headers
Unique value generated by the integration. Repeating the key with the same body returns the original response.
Body
application/json
Response
Destination registered.
Example:
"wh_6r3n"
An empty list subscribes to all events.
Available options:
deposito.confirmado, alocacao.proposta, alocacao.aprovada, resgate.concluido, rendimento.apurado, cobranca.emitida Available options:
ativo, pausado The destination's HMAC secret. Shown only at creation.
Example:
"whsec_..."