API: 403 Forbidden on /setup/create

Hey,
I’m trying to create a setup manually (info-beamer.com hosted API - info-beamer).
I’m always getting a 403 status code and don’t have a clue why. All other requests are working.
The documentation says, that a 403 status indicates a permission issue. I’m using the API Key of my account, which has full access to my info beamer account.
Does anyone have an idea what’s happening here?

Some detailed information about the request:

    POST https://info-beamer.com/api/v1/setup/create
    Authorization: Bearer <API_KEY>
    Content-Type: application/json

    {"package_id":<package_id>,"name":"<name>"}

Thanks in advance!
Max

Right now you still have to use the application/x-www-form-urlencoded instead of application/json Content-Type. So it should be (properly url-encoded):

POST https://info-beamer.com/api/v1/setup/create
Authorization: Bearer <API_KEY>
Content-Type: application/x-www-form-urlencoded

package_id=<package_id>&name=<name>

I’ll ensure that the error message will be more helpful soon.

This works. Thank you!
I was using JSON, since it works on all other endpoints before I tried to create a setup.
I was a bit lost with the issue so I totally missed that every request in the docs uses application/x-www-form-urlencoded.
Sorry :grinning: