Difference between revisions of "Single-Use Links"

From SimplyMeet.me
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
<span style="background-color:#4dcb7b; color:white; padding:5px; border-radius:15px;">POST</span>'''Create a Single-Use Link'''
 
<span style="background-color:#4dcb7b; color:white; padding:5px; border-radius:15px;">POST</span>'''Create a Single-Use Link'''
<pre>https://harmonizely.com/api/single-use-link</pre>
+
<pre>https://app.simplymeet.me/api/single-use-link</pre>
 
Create new single-use link based on the existing meeting type.
 
Create new single-use link based on the existing meeting type.
 
'''Request'''
 
'''Request'''
Line 44: Line 44:
 
{
 
{
 
   "code":"random-string",
 
   "code":"random-string",
   "url":"https://harmonizely.com/s/random-string"
+
   "url":"https://app.simplymeet.me/s/random-string"
 
}
 
}
 
</pre>
 
</pre>
Line 70: Line 70:
 
'''Examples'''
 
'''Examples'''
 
<pre>
 
<pre>
curl --location --request POST 'https://harmonizely.com/api/single-use-link' \
+
curl --location --request POST 'https://app.simplymeet.me/api/single-use-link' \
 
--header 'Content-Type: application/json' \
 
--header 'Content-Type: application/json' \
 
--header 'X-API-KEY: YOUR_API_KEY' \
 
--header 'X-API-KEY: YOUR_API_KEY' \

Revision as of 10:48, 4 November 2021

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.

POSTCreate a Single-Use Link

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

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

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


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


Response

200: OK
Single-Use Link successfully created.

{
   "code":"random-string",
   "url":"https://app.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://app.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"
    }'