# API Help Needed: POST to sales-invoice-form

**URL:** <https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163>\
**Category:** Uncategorized\
**Created:** [February 27, 2026, 1:42pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163 "2026-02-27T13:42:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [February 27, 2026, 1:42pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163/1 "2026-02-27T13:42:25Z")

</div>

I am getting an error when sending a POST from [baserow.com](http://baserow.com)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/a/f/af98e010d8d7f254e0182034b40bb7092e084b73.png)

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:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/d/9/d961360f71b93427ff27087aa1c1d884e0a88318.png)

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:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/b/2/b26ec2011eff7112419e706911e00a85f9cba078.png)

Here is a successful example from Swagger

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/2/f/2f1a2e8b683165fc3642577910cafca3700c9d6d.png)

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](https://community.baserow.io/t/using-the-http-request/12052/1)

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [February 27, 2026, 3:12pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163/2 "2026-02-27T15:12:05Z")

</div>

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:

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

```

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

```auto
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](https://forum.manager.io/t/api2-not-accepting-post-to-employee-form-path/64267)

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [February 27, 2026, 3:29pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163/3 "2026-02-27T15:29:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alasdair](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alasdair](https://forum.manager.io/u/alasdair)\
**Post date:** [February 27, 2026, 6:37pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163/4 "2026-02-27T18:37:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [February 27, 2026, 10:39pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163/5 "2026-02-27T22:39:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 7:58pm UTC](https://forum.manager.io/t/api-help-needed-post-to-sales-invoice-form/67163/6 "2026-07-05T19:58:42Z")

</div>

Closed on July 5, 2026, 7:58pm UTC

Solved topics
