Create Asset Report
POST https://{{env_url}}/asset_report/create
With your desired access_tokens
in hand, all you need to do to create an Asset Report is to call the /asset_report/create
endpoint.
When creating an Asset Report, the only required fields are your client_id
, secret
, an array of access_tokens
(one for each Item to be included in the Report), and the number of days_requested
which determines the duration of transaction history to be included.
options
is optional!
Request Body
{"client_id"=>"{{client_id}}", "secret"=>"{{secret_key}}", "access_tokens"=>["{{access_token}}"], "days_requested"=>30, "options"=>{"client_report_id"=>"ENTER_CLIENT_REPORT_ID_HERE", "webhook"=>"https://www.example.com/webhook", "user"=>{"client_user_id"=>"ENTER_USER_ID_HERE", "first_name"=>"ENTER_FIRST_NAME_HERE", "middle_name"=>"ENTER_MIDDLE_NAME_HERE", "last_name"=>"ENTER_LAST_NAME_HERE", "ssn"=>"111-22-1234", "phone_number"=>"1-415-867-5309", "email"=>"ENTER_EMAIL_HERE"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"asset_report_id":"67de6f27-dc59-4663-a5ec-f2e3c271d208","asset_report_token":"assets-sandbox-d4002c0d-458a-41d0-9208-ac23700940f1","request_id":"xHPFT"}