API Help Needed: POST to sales-invoice-form

I am getting an error when sending a POST from baserow.com

I am sending a POST not a GET yet am getting a response that the endpoint is expecting a GUID {key}.

It appears to work from Swagger, and the API documentation in Swagger shows the same end-point can be used:

Any ideas? What would make the sales-invoice-form think it needs a GUID when sending a post?

I also sent used the same configuration and sent to webhook.site the body being sent (again keepint simple for testing) is:

Here is a successful example from Swagger

I’m at a loss and would appreciate any ideas.

Here is the research so far from working with Baserow support:

Using the HTTP request - Automations Builder - Baserow

It looks like this issue is caused by redirection. When the POS tries to access https://{{subdomain}}.manager.io/api2, it is automatically redirected to a regional endpoint such as https://{{subdomain}}.eu-west-1.manager.io/api2 with GET request.

To avoid problems, please use the redirected location URL instead of the normal entry point. In other words, call https://{{subdomain}}.eu-west-1.manager.io/api2 directly rather than https://{{subdomain}}.manager.io/api2.

From the terminal command prompt, you can run:

curl -I -L https://{{subdomain}}.manager.io/api2

This will show you the Location header, which contains the correct URL to use.

HTTP/1.1 302 Found
Date: Fri, 27 Feb 2026 15:01:36 GMT
Connection: keep-alive
Server: Kestrel
Location: https://{{subdomain}}.eu-west-1.manager.io/api2

HTTP/1.1 200 OK
Date: Fri, 27 Feb 2026 15:01:37 GMT
Content-Type: text/html
Connection: keep-alive
Server: Kestrel

https://forum.manager.io/t/api2-not-accepting-post-to-employee-form-path/64267

1 Like

@Mabaega Wow. Thank you! That did it. Apparently I’m on us-east-1, I had no idea that was occurring behind the scenes.

One more question - these regional servers aren’t load balanced or anything are they? In other words if I ‘hard-code’ the endpoint to the regional server the redirect won’t change dynamically or anything will it.

Greatly appreciate your help.

I think it’s safe. Unless there is a major issue with that regional server