Creating a GanttPRO team API key
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from GanttPRO’s own documentation: the GanttPRO Developer API portal, specifically its Authentication, Trusted IP and Webhooks sections. Retrieved 2026-08-25; the link to the settings page and the answer to a bad key re-checked 2026-12-03.
Only the team account owner can do this. GanttPRO states it twice, once for keys and once for webhooks: “You must be the owner of the GanttPRO team account to be able to generate API keys for your team.” It is a few minutes’ work, but it cannot be delegated to whoever is running the integration — so ask for the owner by name before scheduling anything that depends on it.
-
Sign in to GanttPRO as the owner of the team account.
-
Open the integration settings: <https://app.ganttpro.com/#/settings/integrations>. GanttPRO’s documentation says “You can create and manage your API Keys in the web interface” and links those last words to that page.
-
Create an API key. It is issued for the team, not for your user — anything holding it acts with the team’s access, and there are no scopes to narrow it with.
-
Copy the key and store it somewhere secure. GanttPRO’s own advice: “Make sure to store your API keys somewhere secure and never share them publicly.”
-
Check it before handing it over. The team endpoint touches no project data:
Terminal window curl 'https://api.ganttpro.com/v1.0/team' \-H 'Accept: application/json' \-H 'X-API-KEY: YOUR_TEAM_API_KEY_HERE'A working key returns the team object. A broken or missing key returns HTTP 400, not 401 — check the body, not the status:
{"code":1006,"msg":"Code 1006: Your api key is invalid or it's not exist"}means the key is wrong.
If your GanttPRO account restricts access by IP
Section titled “If your GanttPRO account restricts access by IP”- GanttPRO offers a Trusted IP configuration that allows only listed IPv4/IPv6 addresses or ranges to reach certain resources. If your team has it switched on, the addresses your integration calls from have to be on that list, or every request fails regardless of the key. Settle this with whoever administers the GanttPRO account at the same time as the key.
If you also want webhooks
Section titled “If you also want webhooks”- Webhook URLs are configured on the same settings page and behind the same restriction — the team account owner sets them. GanttPRO then sends a POST to each configured URL when something happens to a task, resource, project, comment, attachment, time log or role.
- Your endpoint must answer 2xx. GanttPRO’s own warning: “The response status for POST-request should be 2xx. Otherwise, we will block URL (you can view the URL status in the account settings).” If deliveries stop arriving, check the URL status there before assuming the events are not firing.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose GanttPRO, and pick GanttPRO team API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: GanttPRO in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.