[#787] Questions related to the API for user signon etc.

Migrated from Redmine #787 | Author: Ayush Sinha
Status: New | Priority: High, I’m very impatient | Created: 2021-09-22


Question 1
We wish to integrate a simplybook.me API which allows us to signup 2 types of users, using our website. The 2 types of users can be classified as → 1. Coach (User in SBM) 2. Student (Client in SBM). We want to understand if there is an API that allows us to capture the user details (in SBM) with the following fields - email, login, password, verify password, group_type, phone number and last name. We also want to understand that while using this API can we fix the user group option for that particular registration.

Question 2
Is it mandatory that we have to enter any student/ coach details manually into the simplybook.me users list? We believe that this could be an automated system. The reason we are asking this question is that while we are trying to fetch the user details, we are authenticating this data using the username and password of the service provider, which is encrypted. Would we be able to extract this data as well with the password restriction ?

Redmine Admin wrote:

Hi, you can use this method to add clients API documentation | SimplyBook.me Online Scheduling
there are edit and get client info methods as well

Ayush Sinha wrote:

Hi,
Thanks for the response.
I went through the entire API methods, it doesn’t give any way to add users in an automated way through our website.
Please let me know how we can add users, because adding them manually will be too tedious.

Also, fetching the user details - the username and password is important but no method in the API currently gives us that ability. Please let me know how we can get over this.

Thank you!

Redmine Admin wrote:

not sure what you mean. Your script can call methods ecach time when user needs to be added and it will be your automation.
There is no way to fetch user password for security reasons: password is not stored in a plain text and cannot be fetched