Revision as of 14:11, 5 April 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Single-Use Links

From SimplyMeet.me

Single-use links are used to create a meeting once which can't be used again. Once someone schedules a meeting with you, the link is no longer valid. You can create such links one by one or in a batch (up to 56 at once).
Request for one link
POSTCreate a Single-Use Link

https://secure.simplymeet.me/api/single-use-link

Create new single-use link based on the existing meeting type.

Headers
Content-Type
OPTIONAL
string application/json
X-API-KEY
REQUIRED
string Your API key


Body Parameters
meeting_type_uuid
REQUIRED
string UUID of the existing Meeting Type.


Request for a set of links
POSTCreate a Single-Use Link List

https://secure.simplymeet.me/api/single-use-link-list
Headers
Content-Type
OPTIONAL
string application/json
X-API-KEY
REQUIRED
string Your API key


Body Parameters
count
REQUIRED
number number of links to be generated.
meeting_type_uuid
REQUIRED
string UUID of the existing Meeting Type.


Response

200: OK
Single-Use Link successfully created.

{
   "code":"random-string",
   "url":"https://secure.simplymeet.me/s/random-string"
}

422: Unprocessable Entity

{
   "message":"Invalid arguments",
   "errors":{
      "meetingTypeUuid":[
         "Meeting Type with uuid 7ab22519-0135-2941-0bd6-a3381d173110 was not found."
      ]
   }
}

Examples

curl --location --request POST 'https://secure.simplymeet.me/api/single-use-link' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: YOUR_API_KEY' \
--data-raw '    {
      "meeting_type_uuid": "7ab22519-0135-2941-0bd6-a3381d173110"
    }'