system
October 6, 2022, 6:52pm
1
Migrated from Redmine #938 | Author: Jerome Bell
Status: New | Priority: Normal | Created: 2022-10-06
I cannot get a token
companyLogin => stjude
apiKey => f7e03db6a873279bd2dd89f0b21c450a5682f575bc2d4fd4023a933bb639d58b
I keep getting a “Wrong API key” message. Please advise.
system
October 7, 2022, 6:43am
2
Redmine Admin wrote:
maybe you are calling wrong API endpoint? - what is your booking page url and which API endpoint you are calling?
system
October 7, 2022, 2:03pm
3
Jerome Bell wrote:
I am using [[https://user-api.simplybook.me/login ]]. I’m sure this is correct because the call succeeds when I use the demo account credentials mib/f43618e37b82004066d60db3431f4a06392599a6cfcafa8268bf25becc0ec7d7.
system
October 7, 2022, 2:05pm
4
Redmine Admin wrote:
but on which server your company is located (what is your booking site url)?
system
October 7, 2022, 2:54pm
5
system
October 7, 2022, 2:55pm
6
Redmine Admin wrote:
then your API endpoint must be user-api.simplybook.us
system
October 7, 2022, 3:17pm
8
Jerome Bell wrote:
Why does https://user-api.simplybook.me/login with body
{
“jsonrpc” : “2.0”,
“id”: 1,
“method” : “getServiceUrl”,
“params” : [
“stjude”
]
}
return “user-api.simplybook.me ”? Shouldn’t the URL have a “.us” suffix?
system
October 10, 2022, 6:02am
9
Redmine Admin wrote:
hi, your API endpoint must be always with .us not .me