Calls
Projects
get_project_list
5min
this call returns project data the arguments that would be included in the doc are described below basic parameters name type required description action string true get project list group id integer true this can be any group id within your organization doc array false see doc parameters below doc parameters name type required description only archived boolean false includes only archived projects with archived boolean false includes active and archived projects example call curl x post "https //www regpack com/reg/api2/projects/" \\ h "content type application/json" \\ h "accept application/json" \\ h "api id 15263" \\ h "api user api admin\@regpacks com" \\ h "api token cd2e514f 7gab 3cde 62fg 51abcd4e7362" \\ d '{ "action" "get project list", "group id" 1625251, "doc" { "only archived" false, "with archived" true } }import requests import json projects endpoint = https //www regpack com/reg/api2/projects/ headers = { "content type" "application/json", "accept" "application/json", "api id" "15263", "api user" "api admin\@regpacks com", "api token" "cd2e514f 7gab 3cde 62fg 51abcd4e7362", } payload = { "action" "get project list", "group id" 1625251, "doc" { "only archived" false, "with archived" true } } get project list json = json dumps(payload) get project list response = requests post(url=users endpoint, data=get project list json, headers=headers, timeout=10) response {'only archived' false, 'projects' \[{' excluded' '0', 'creation date' '2015 01 28 11 38 54', 'group currency' 'usd', 'group id' '2514736', 'group name' 'village vanguard outbound marketing' }, {' excluded' '0', 'creation date' '2022 04 27 14 35 01', 'group currency' 'usd', 'group id' '1625251', 'group name' 'booking at the village vanguard' }], 'success' true, 'with archived' false, 'with group totals' true}