Hi @Julia
First of all let me clarify the ApiUserRequired
it actually means that the API route requires a valid user session, meaning that the user actually is logged in, that's all it does.
Now regarding the other issues:
- login by using this route
/api/v3/users/login
as POST and in the body supply a json object like this
{
"login_id": "account@email.com",
"password": "the account password"
}
If all goes well you'll get a response where in the header you'll find token
. use it's value in subsequent API calls by adding a Header Authorization: Bearer thetokenfromtheresponse
or Authorization: token thetokenfromtheresponse
it doesn't matter if its a GET
or a POST
requests.
With this both of your problems should be resolved.
Let me know if it works for you.