Receive a FINTRX message
POST/v1/fintrx
The single URL of FINTRX's External API. FINTRX posts every message as an envelope { "name": "<type>", "payload": { ... } }.
Auth: send the API key raw (Authorization: <key>) or as Authorization: Bearer <key>; both reach the API, as this route has its own gateway route that passes the Bearer form through. Only an API key is accepted: a request authenticated any other way answers 401. The key picks the organization and the user the changes are saved as.
Messages: send_ria_entity_to_ext_api writes the firm in payload.ria_entity onto the one Investor whose website host matches team_page, into the fields mapped to FINTRX. Any other name is acknowledged and ignored. The response is 200 whatever the outcome (one of the outcome values), as FINTRX treats any other status as a failed request, and a 401 as an expired token.
Returns 404 when the organization has not enabled the FINTRX integration.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Message received
Body is not an envelope with a string name and an object payload, or a firm message has no object payload.ria_entity
Invalid or missing API key
FINTRX integration not enabled for the organization
Writing the firm failed. A firm the CRM rejects for its data (a URL outside the organization's allowed domains, say) comes back with that error's 4xx status instead