{"_id":"5912369565888319004e5565","parentDoc":null,"version":"5912369265888319004e555f","githubsync":"","hidden":false,"body":"When an access_token matching the account is provided, a paginated list of contributions made by that account is returned. Otherwise, a list of empty hashes is returned, but the { pagination : { count : xxx } } field will reflect the number of contributions made by the account.","type":"get","category":"5912369465888319004e5560","user":"5474d5e859fade080004ca6c","order":0,"excerpt":"/2/accounts/:account_id/contributions.json","project":"542c6f8dddd3190e00228898","link_external":false,"link_url":"","api":{"examples":{"codes":[{"language":"curl","code":"curl -G -d api_token={API TOKEN} -d access_token={ACCESS TOKEN} -d https://api.indiegogo.com/2/accounts/{ACCOUNT ID}/contributions.json"}]},"method":"get","results":{"codes":[{"code":"{\n    \"response\": [\n        {\n            \"id\": 2157501841,\n            \"created_at\": \"2017-09-11T10:49:54-07:00\",\n            \"avatar_url\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/c_fill,f_auto,h_90,w_90/v1430949299/tcp7shuj20ngf8j7wplwt3.jpg\",\n            \"amount\": 1,\n            \"by\": \"Mario\",\n            \"appearance\": {\n                \"private_amount\": false\n            },\n            \"campaign\": {\n                \"id\": 21762826391,\n                \"slug\": \"another-campaign\",\n                \"title\": \"another campaign\",\n                \"image_types\": {\n                    \"baseball_card\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/f_auto,t_iPhone_standard/v1501014075/e6ef3btcs83fel8yeh1ibml.jpg\",\n                    \"small\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/f_auto,t_iPhone_standard/v1501014075/e6ef24f3btcfel8yeh1ibml.jpg\",\n                    \"medium\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/f_auto,t_iPhone_retina/v1501014075/e6ef233btcfel8yeh1ibml.jpg\",\n                    \"large\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/f_auto,t_iPhone_retina_hd_v1/v1501014075/e6ef3btw6cfel8yeh1ibml.jpg\",\n                    \"original\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/f_auto/v1501014075/e6ef3btcfew66l8yeh1ibml.jpg\"\n                },\n                \"currency\": {\n                    \"iso_num\": 840,\n                    \"iso_code\": \"USD\",\n                    \"symbol\": \"$\"\n                },\n                \"created_at\": \"2017-07-25T13:20:45-07:00\",\n                \"updated_at\": \"2017-09-12T09:09:52-07:00\",\n                \"tagline\": \"Our awesome new campaign!\",\n                \"funding_days\": 60,\n                \"baseball_card_image_url\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/c_fill,f_auto,h_220,w_220/v1501014075/e6ef3bt34gcfel8yeh1ibml.jpg\",\n                \"city\": \"San Francisco\",\n                \"forever_funding_active\": false,\n                \"stripe_payout_active\": true,\n                \"goal\": 500,\n                \"perks_available\": true,\n                \"category\": {\n                    \"id\": 13,\n                    \"name\": \"Theatre\",\n                    \"text\": \"Theatre\"\n                },\n                \"collected_funds\": 3,\n                \"funding_type\": \"flexible\",\n                \"country\": \"United States\",\n                \"country_code_alpha_2\": \"US\",\n                \"region\": \"California\",\n                \"region_code\": \"STTE_USCA\",\n                \"contributions_count\": 3,\n                \"comments_count\": 0,\n                \"updates_count\": 0,\n                \"funding_ends_at\": \"2017-10-27T23:59:59-07:00\",\n                \"funding_started_at\": \"2017-08-28T10:57:04-07:00\",\n                \"web_url\": \"https://www.indiegogo.com/projects/campaign-slug3\",\n                \"favorited\": false,\n                \"forever_funding_collected_funds\": 0,\n                \"forever_funding_ends_at\": null,\n                \"video_overlay_url\": null,\n                \"main_image_url\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/c_fill,f_auto,h_413,w_620/v1501014103/vwfqq723fpmzju1ti1zvl2a.jpg\",\n                \"main_video_url\": null,\n                \"facebook_url\": \"https://www.facebook.com/groups/25555932461210581/\",\n                \"life\": {},\n                \"latest_updates\": [],\n                \"team_members\": [\n                    {\n                        \"id\": 304425484,\n                        \"name\": \"Shane\",\n                        \"status\": \"owner\",\n                        \"owner\": true,\n                        \"avatar_url\": \"https://c1.iggcdn.com/indiegogo-media-prod-cld/image/upload/c_fill,f_auto,h_90,w_90/v14309492299/tcp7shu0nfsgf8j7wplwt3.jpg\",\n                        \"facebook\": {\n                            \"verified\": false,\n                            \"friends_count\": 0\n                        },\n                        \"account_id\": 91201234,\n                        \"user_type\": \"RLTN_OWNR\"\n                    }\n                ],\n                \"project_sponsors\": []\n            },\n            \"order\": {\n                \"id\": 13616234570,\n                \"perks\": [\n                    {\n                        \"id\": 419912424,\n                        \"campaign_slug\": \"another-campaign\",\n                        \"amount\": 1,\n                        \"description\": \"This is the best perk ever!\",\n                        \"number_claimed\": 3,\n                        \"number_available\": null,\n                        \"estimated_delivery_date\": null,\n                        \"shipping_address_required\": false,\n                        \"label\": \"Early Bird Perk\",\n                        \"validation_errors\": null,\n                        \"featured\": false,\n                        \"non_tax_deductible_amount\": null,\n                        \"items\": [\n                            {\n                                \"id\": 27362345524,\n                                \"name\": \"Awesome Shirt\",\n                                \"quantity\": 1,\n                                \"sku\": {\n                                    \"id\": 54343224,\n                                    \"code\": \"SKU00001\",\n                                    \"choices\": []\n                                }\n                            }\n                        ]\n                    }\n                ]\n            }\n        },\n        {\n          /* DATA REMOVED FROM EXAMPLE */\n        }\n    ],\n    \"count\": 30,\n    \"pagination\": {\n        \"previous\": null,\n        \"next\": 2,\n        \"current\": 1,\n        \"per_page\": 30,\n        \"count\": 68,\n        \"pages\": 3\n    }\n}","language":"json","status":200,"name":"OK"}]},"settings":"","auth":"required","params":[{"_id":"573e223a7161463600014a4e","ref":"","in":"path","required":false,"desc":"The ID number assigned to the Indiegogo account.","default":"","type":"string","name":"account_id"}],"url":"/:version/accounts/:account_id/contributions.json"},"isReference":false,"slug":"account_contributions","title":"Account Contributions","next":{"pages":[],"description":""},"createdAt":"2016-05-19T19:53:06.685Z","sync_unique":"","__v":14,"updates":[],"childrenPages":[]}

getAccount Contributions

/2/accounts/:account_id/contributions.json

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

account_id:
string
The ID number assigned to the Indiegogo account.

Examples


Result Format


Documentation

When an access_token matching the account is provided, a paginated list of contributions made by that account is returned. Otherwise, a list of empty hashes is returned, but the { pagination : { count : xxx } } field will reflect the number of contributions made by the account.