Difference between revisions of "Single-Use Links"

From SimplyMeet.me
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://app.simplymeet.me/api/single-use-link</pre>
+
<pre>https://secure.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://app.simplymeet.me/s/random-string"
+
   "url":"https://secure.simplymeet.me/s/random-string"
 
}
 
}
 
</pre>
 
</pre>
Line 70: Line 70:
 
'''Examples'''
 
'''Examples'''
 
<pre>
 
<pre>
curl --location --request POST 'https://app.simplymeet.me/api/single-use-link' \
+
curl --location --request POST 'https://secure.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 12:58, 24 March 2022

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://secure.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://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"
    }'