{"_id":"58827a6d3508020f00c40b6f","user":"5511c42d979eaf0d00649d7a","parentDoc":null,"githubsync":"","version":{"_id":"556dd000d0f4740d00380e00","project":"556dd000d0f4740d00380dfd","__v":14,"createdAt":"2015-06-02T15:47:12.583Z","releaseDate":"2015-06-02T15:47:12.583Z","categories":["556dd001d0f4740d00380e01","556e17023f11b01900a36978","556eff53fc3aa80d00e1aa67","557078cf910c090d00c43414","557078dc9ea7860d008b24ed","5571a533dbb3632100974aed","5571c4ed6d8908230061f39e","5575b9b10b81dc230069c981","5580706cbe698419008f2ca7","55a4117d53611017004387d4","58502492f744712700462b20","588279ccd63d450f00e1aa58","59e76819193831002803721e","5a6899886b88e400403c3ce5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"project":"556dd000d0f4740d00380dfd","__v":2,"category":{"_id":"588279ccd63d450f00e1aa58","project":"556dd000d0f4740d00380dfd","version":"556dd000d0f4740d00380e00","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2017-01-20T20:57:48.460Z","from_sync":false,"order":6,"slug":"account-documents","title":"Documents"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-20T21:00:29.635Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[{"code":"GET /v2/accounts/12345678/documents?start=2016-12-01&end=2016-12-31 HTTP/1.1\nContent-Type: application/json; charset=utf-8\nHost: api.tradier.com\nAuthorization: Basic XXX\nConnection: close\nContent-Length: 40\n\n[\n  {\n    \"documentDate\":\"2016-12-30\",\n    \"documentType\":\"STATEMENT\"\n  }\n]","language":"http"}]},"method":"get","results":{"codes":[{"name":"","code":"// STATEMENT\n[\n  {\n    \"documentDate\":\"2016-12-30\",\n    \"documentType\":\"STATEMENT\",\n    \"documentDescription\": \"2016-12-30\"\n  }\n]\n\n// TAX\n[\n  {\n     \"documentDate\": \"2017-02-06\",\n     \"documentType\": \"TAX\",\n     \"documentDescription\": \"1099\"    \n  }\n]\n\n","language":"json","status":200},{"code":"","language":"text","status":200}]},"auth":"required","params":[{"_id":"58827a6d3508020f00c40b72","ref":"","in":"query","required":false,"desc":"Start date of document search","default":"Today","type":"yyyy-mm-dd","name":"start"},{"_id":"58827a6d3508020f00c40b71","ref":"","in":"query","required":false,"desc":"End date of document search","default":"-6 months","type":"yyyy-mm-dd","name":"end"},{"_id":"58827a6d3508020f00c40b70","ref":"","in":"query","required":false,"desc":"Can either be `STATEMENT`, `TAX` or `CONFIRM`","default":"statements","type":"string","name":"type"},{"_id":"58827b5cd63d450f00e1aa66","ref":"","in":"path","required":true,"desc":"Account number","default":"","type":"string","name":"id"},{"_id":"588a307ea8d88c0f009eca8b","ref":"","in":"header","required":true,"desc":"Authorization is required for this API.  Please use a valid credentials.","default":"Basic XXX","type":"string","name":"Authorization"}],"url":"/accounts/:id/documents"},"isReference":true,"order":1,"body":"Fetch documents available for this account.","excerpt":"","slug":"get-account-documents","type":"endpoint","title":"Get Documents"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
Account number

Query Params

start:
yyyy-mm-ddToday
Start date of document search
end:
yyyy-mm-dd-6 months
End date of document search
type:
stringstatements
Can either be `STATEMENT`, `TAX` or `CONFIRM`

Headers

Authorization:
required
stringBasic XXX
Authorization is required for this API. Please use a valid credentials.

Examples


Result Format


Documentation

Fetch documents available for this account.