Toggl API Errors

Hello, I am trying to use the Toggl API (v9). I’m creating a workspace project and am getting an error, PaymentRequired. I’m on the free tier. I understand the API is still available to the free users, so I’m not sure what I’m doing wrong.

The POST URL is: workspaces/<number>/projects.

            var requestBody = new
            {
                active = true,
                color = "#FFFFFF",
                is_private = false,
                name = "test",
                template = false
            };

Any guidance would be awesome!

Hi Brian! Could you DM me the email address you use for your Toggl account and I’ll look into this for you.

1 Like

Thank you so much for your help!

I can’t find the DM portion of the community site, so I’ll just post it here. Not worried.

brian.chambers@aacreditunion.org

Thanks again!

1 Like

Hey :waving_hand:
Thanks for reaching out — you’re absolutely right that the API is available to free users. In this case, the error you’re seeing is most likely caused by the color value used when creating the project.

The free plan only supports a limited set of preset colors, and custom hex codes like "#FFFFFF" aren’t allowed.

Try using one of the supported preset colors — I hope that resolves it, but please let me know if you still run into any issues!

Best,
Marie

1 Like