List Meeting Types
Get all meeting types for a user
GET
/
v4
/
meeting-type
List Meeting Types
curl --request GET \
--url https://api.example.com/v4/meeting-typeimport requests
url = "https://api.example.com/v4/meeting-type"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v4/meeting-type', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v4/meeting-type",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v4/meeting-type"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v4/meeting-type")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v4/meeting-type")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyRetrieve all meeting types associated with a user.
Endpoint
GET /v4/meeting-type
Request Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <your-api-key> |
x-meetergo-api-user-id | Yes | UUID of the user whose meeting types to list |
Examples
curl -X GET "https://api.meetergo.com/v4/meeting-type" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-meetergo-api-user-id: 550e8400-e29b-41d4-a716-446655440000"
const response = await fetch('https://api.meetergo.com/v4/meeting-type', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'x-meetergo-api-user-id': '550e8400-e29b-41d4-a716-446655440000'
}
});
const meetingTypes = await response.json();
import requests
response = requests.get(
'https://api.meetergo.com/v4/meeting-type',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'x-meetergo-api-user-id': '550e8400-e29b-41d4-a716-446655440000'
}
)
meeting_types = response.json()
Response
Success (200 OK)
[
{
"id": "770e8400-e29b-41d4-a716-446655440002",
"slug": "30min-meeting",
"meetingInfo": {
"name": "30 Minute Meeting",
"duration": 30,
"channel": "phone"
},
"bookingUrl": "https://cal.meetergo.com/john-smith/30min-meeting"
},
{
"id": "880e8400-e29b-41d4-a716-446655440003",
"slug": "product-demo",
"meetingInfo": {
"name": "Product Demo",
"description": "A walkthrough of our product features",
"duration": 45,
"channel": "zoom"
},
"bookingUrl": "https://cal.meetergo.com/john-smith/product-demo"
}
]
| Field | Description |
|---|---|
[].id | UUID of the meeting type |
[].slug | URL-friendly identifier |
[].meetingInfo.name | Display name |
[].meetingInfo.duration | Duration in minutes |
[].meetingInfo.channel | Meeting channel type |
[].meetingInfo.description | Optional description |
[].bookingUrl | Public booking URL |
Empty Response
If the user has no meeting types:[]
Error Responses
401 Unauthorized
{
"statusCode": 401,
"message": "Invalid API key",
"error": "Unauthorized"
}
Related Endpoints
Create Meeting Type
Create a new meeting type
Update Meeting Type
Modify an existing meeting type
⌘I
List Meeting Types
curl --request GET \
--url https://api.example.com/v4/meeting-typeimport requests
url = "https://api.example.com/v4/meeting-type"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v4/meeting-type', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v4/meeting-type",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v4/meeting-type"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v4/meeting-type")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v4/meeting-type")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body