cURL
curl --request POST \ --url https://api.endclose.com/v1/data_streams \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "key": "<string>", "name": "<string>", "type": "api", "bank_account_id": "<string>" } '
{ "key": "<string>", "name": "<string>", "id": 123, "description": "<string>", "type": "<string>" }
Unique immutable identifier
Human readable name
The type of data stream to create
api
bank_feed
Required when type is bank_feed. The ID of the bank account to link.
Data stream created
Unique numeric identifier
Optional description of the data stream
The type of data stream (e.g. api, csv, stripe, bank_feed)