Difference between revisions of "Single-Use Links"
From SimplyMeet.me
Line 22: | Line 22: | ||
| colspan="3" style="color:gray; border-bottom: 2px solid gray" |Body Parameters | | colspan="3" style="color:gray; border-bottom: 2px solid gray" |Body Parameters | ||
|- | |- | ||
− | | meeting_type_uuid<br><span style="font-size:10px; color:gray;"> | + | | meeting_type_uuid<br><span style="font-size:10px; color:gray;">REQUIRED</span> |
| <code>string</code> | | <code>string</code> | ||
| UUID of the existing Meeting Type. | | UUID of the existing Meeting Type. |
Revision as of 10:31, 20 March 2023
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 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" }'