Skip to content

Get Online Booking User Data

Request

Retrieve online booking user data.

Security
BearerPartner
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  https://developer.alteg.io/_mock/en/public/openapi/booking/user/data \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
0string

User Token

Example:"152afb01134237bc844d7e"
idinteger, (int32)

User ID

Example:32132133
user_tokenstring

User Token

Example:"152afb01134237bc844d7e"
namestring

Username

Example:"James Smith"
phonestring

User phone

Example:"+13155550175"
loginstring

User login

Example:"j.smith"
emailstring

User mail

Example:"j.smith@example.com"
avatarstring

User avatar

Example:"https://api.alteg.io/images/avatar.png"
Response
{ "0": "152afb01134237bc844d7e", "id": 32132133, "user_token": "152afb01134237bc844d7e", "name": "James", "phone": "+13155550175", "login": "j.smith", "email": "j.smith@example.com", "avatar": "https://api.alteg.io/images/avatar.png" }