cURL
curl --request POST \ --url https://finsync.ar/api/clients \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>" } '
{ "id": 123, "name": "<string>", "description": "<string>", "company_id": 123, "type": 123, "company_client_id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Creates a new external counterparty (Client type = 1) for the company tied to the API key. Does not create portal access.
API Key for authentication
Client display name
100
Optional notes
External client created
Always 1 for this endpoint