[#916] (SimplyMeet.me) - API for booking

Migrated from Redmine #916 | Author: Igor Venturelli
Status: Closed | Priority: High, I’m very impatient | Created: 2022-08-02


Hi!

New user here

I was trying to use SimplyMeet.me API but I haven’t found some resources.
For example, where can I create a booking record? With Date/time, host, guests and others parameters?
I need to perform basic operations like CRUD for booking, for example.

Looking to the API documentation, I have only found documentation about Meeting Types and Single-Use Links (and Webhooks)

Thanks.

Nicholas Alias wrote:

Hello you can try to use this, but it is beta version and something may change when we make a api for this functionality

https://app.simplymeet.me/api/booking/create


{
    "scheduled_at": "2022-08-04 02:00:00+01:00",
    "event_type": 20732,
    "invitee": {
        "email": "test@gmail.com",
        "full_name": "test",
        "timezone": "Europe/Lisbon",
        "locale": "en",
        "phone_number": "+380 3311 11111"
    },
    "participants": [
        {
            "email": "test2@gmail.com"
        },
        {
            "email": "test3@gmail.com"
        }
    ],
    "details": null,
    "answers": []
}

Nicholas Alias wrote:

POST https://secure.simplymeet.me/panel/api/login
Content-Type: application/json

{
“login”: “”,
“password”: “”,
“deviceToken”: “pc”
}

Response:
{
“token”: “0b09491e4243c8348312ad6f8522423cf590bc3c0feb85eee1524134844a44a2”,
“refreshToken”: “4c7c13b886fe6d8000c0b5ff6ba0998d3f0a55164387db95eadbe0b92572b267”,
“authenticated”: false,
“expireDatetime”: “2022-08-03T10:22:31+00:00”
}

if authenticated = false - it’s mean you have second factor

POST https://secure.simplymeet.me/panel/api/login-2fa
Content-Type: application/json
X-AUTH-TOKEN: {{ token }}

{
“code”: “915291”
}

get new token by refresh token

POST https://secure.simplymeet.me/panel/api/login-refresh-token
Content-Type: application/json

{
“refreshToken”: “318ce572b87b51b84b17b3356c2218387327adb085e654368accde7434df6c63”,
“deviceToken”: “testtokenblablabl123a”
}

Get event type list

GET https://secure.simplymeet.me/panel/api/event-type
Content-Type: application/json
X-AUTH-TOKEN: {{ token }}

Get event list
GET https://secure.simplymeet.me/panel/api/event/?page=10&onPage=10&orderField=&orderDirection=&groupBy=
X-AUTH-TOKEN: {{ token }}
You can check filters in admin panel (My meetings page)

PUT https://secure.simplymeet.me/panel/api/event/cancel/846
Content-Type: application/json
X-AUTH-TOKEN: {{ token }}

{
“reason”: “Cancel event reason”
}

DELETE https://secure.simplymeet.me/panel/api/event/94833
X-AUTH-TOKEN: {{ token }}

GET https://secure.simplymeet.me/panel/api/event/1188
X-AUTH-TOKEN: {{ token }}

POST https://secure.simplymeet.me/panel/api/event/invite-participants/947
Content-Type: application/json
X-AUTH-TOKEN: {{ token }}

{
“emails”: [
tests5@gmail.com”,
testd6@gmail.com
],
“message”: “message 333”
}

PUT https://secure.simplymeet.me/panel/api/event/notes/523
Content-Type: application/json
X-API-KEY: 723e229c1cafd41034eecab052452490f9c3c986f4936dbfecc2ee0fc761538c

{
“notes”: “new note”
}