[#781] Authentication

Migrated from Redmine #781 | Author: MIBI P2U
Status: New | Priority: High, I’m very impatient | Created: 2021-09-10


We’re attempting to interface with your API through SSIS.
Ideally we’re wanting to authenticate at cluster level using a key:

POST https://pharmacy2u.cluster.simplybook.cc/admin/auth/

Content-Type: application/json
X-Cluster: Pharmacy2U {
“key”: “{{…redacted…}}”
}

But have also tried at company level using a username and password:

POST Appointment booking service and free online booking service

But do not receive a token back either way.

Is there a guide you can point us to, or can someone help us overcome this?

Redmine Admin wrote:

you need to us https://user-api-v2.simplybook.cc endpoint for rest API
https://user-api.simplybook.cc for legacy json rpc API

MIBI P2U wrote:

Thank you - do we use literally ‘https://user-api-v2.simplybook.cc
or do we replace ‘user’ with our company name like this ‘https://pharmacy2u-api-v2.simplybook.cc/admin/auth’ ?

When we try ‘https://user-api-v2.simplybook.cc’ we get ‘Unauthorised’
When we try ‘https://pharmacy2u-api-v2.simplybook.cc/’ we get ‘I’m sorry, that page is in another universe!’

When we try ‘https://user-api-v2.simplybook.cc/admin/auth’ we get ‘I’m sorry, that page is in another universe!’
When we try ‘https://Pharmacy2U-api-v2.simplybook.cc/admin/auth’ We get ‘Not found’

Dmytro Bondarev wrote:

Use literally user-api-v2