Calls
Projects
4min
the projects endpoint http post https //www regpack com/reg/api2/projects/ the projects endpoint allows you to return a list of the projects within your organization basic structure each call to the api requires action and a group id name type required description action string true this describes what you would like to do with the api for status, the only action is create group id integer true for the projects endpoint, t his only needs to be a project within your organization api id in the header must be part of the organization that owns the group doc json true this is the status data you would like to include in the request, formatted as json example call each call to the api requires action and a group id 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 } } example response json {'only archived' false, 'projects' \[{' excluded' '0', 'creation date' '2015 01 28 11 38 54', 'group currency' 'usd', 'group id' '10768', 'group name' 'village vanguard outbound marketing' }, {' excluded' '0', 'creation date' '2022 04 27 14 35 01', 'group currency' 'usd', 'group id' '100910040', 'group name' 'booking at the village vanguard' }], 'success' true, 'with archived' false, 'with group totals' true}