Create a Meeting Type
curl --request POST \
--url https://api.getnexor.ai/api/public/workflows/{id}/meeting-types \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"duration_minutes": 30,
"buffer_after_minutes": 15,
"min_notice_hours": 2,
"max_days_ahead": 14,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"location_details": "<string>",
"allow_overbooking": false,
"max_bookings_per_slot": 11,
"color": "#6366F1",
"agent_selection_criteria": "<string>"
}
'import requests
url = "https://api.getnexor.ai/api/public/workflows/{id}/meeting-types"
payload = {
"name": "<string>",
"description": "<string>",
"duration_minutes": 30,
"buffer_after_minutes": 15,
"min_notice_hours": 2,
"max_days_ahead": 14,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"location_details": "<string>",
"allow_overbooking": False,
"max_bookings_per_slot": 11,
"color": "#6366F1",
"agent_selection_criteria": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
duration_minutes: 30,
buffer_after_minutes: 15,
min_notice_hours: 2,
max_days_ahead: 14,
event_title_template: '<string>',
event_description_template: '<string>',
location_type: 'video',
location_details: '<string>',
allow_overbooking: false,
max_bookings_per_slot: 11,
color: '#6366F1',
agent_selection_criteria: '<string>'
})
};
fetch('https://api.getnexor.ai/api/public/workflows/{id}/meeting-types', 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.getnexor.ai/api/public/workflows/{id}/meeting-types",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'duration_minutes' => 30,
'buffer_after_minutes' => 15,
'min_notice_hours' => 2,
'max_days_ahead' => 14,
'event_title_template' => '<string>',
'event_description_template' => '<string>',
'location_type' => 'video',
'location_details' => '<string>',
'allow_overbooking' => false,
'max_bookings_per_slot' => 11,
'color' => '#6366F1',
'agent_selection_criteria' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getnexor.ai/api/public/workflows/{id}/meeting-types"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"duration_minutes\": 30,\n \"buffer_after_minutes\": 15,\n \"min_notice_hours\": 2,\n \"max_days_ahead\": 14,\n \"event_title_template\": \"<string>\",\n \"event_description_template\": \"<string>\",\n \"location_type\": \"video\",\n \"location_details\": \"<string>\",\n \"allow_overbooking\": false,\n \"max_bookings_per_slot\": 11,\n \"color\": \"#6366F1\",\n \"agent_selection_criteria\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getnexor.ai/api/public/workflows/{id}/meeting-types")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"duration_minutes\": 30,\n \"buffer_after_minutes\": 15,\n \"min_notice_hours\": 2,\n \"max_days_ahead\": 14,\n \"event_title_template\": \"<string>\",\n \"event_description_template\": \"<string>\",\n \"location_type\": \"video\",\n \"location_details\": \"<string>\",\n \"allow_overbooking\": false,\n \"max_bookings_per_slot\": 11,\n \"color\": \"#6366F1\",\n \"agent_selection_criteria\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getnexor.ai/api/public/workflows/{id}/meeting-types")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"duration_minutes\": 30,\n \"buffer_after_minutes\": 15,\n \"min_notice_hours\": 2,\n \"max_days_ahead\": 14,\n \"event_title_template\": \"<string>\",\n \"event_description_template\": \"<string>\",\n \"location_type\": \"video\",\n \"location_details\": \"<string>\",\n \"allow_overbooking\": false,\n \"max_bookings_per_slot\": 11,\n \"color\": \"#6366F1\",\n \"agent_selection_criteria\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"status": "existing",
"meeting_type": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"duration_minutes": 123,
"buffer_after_minutes": 123,
"min_notice_hours": 123,
"max_days_ahead": 123,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"video_provider": "google_meet",
"location_details": "<string>",
"allow_overbooking": true,
"max_bookings_per_slot": 123,
"color": "<string>",
"agent_selection_criteria": "<string>",
"agent_selection_rules": {},
"is_active": true
}
}{
"success": true,
"status": "created",
"meeting_type": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"duration_minutes": 123,
"buffer_after_minutes": 123,
"min_notice_hours": 123,
"max_days_ahead": 123,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"video_provider": "google_meet",
"location_details": "<string>",
"allow_overbooking": true,
"max_bookings_per_slot": 123,
"color": "<string>",
"agent_selection_criteria": "<string>",
"agent_selection_rules": {},
"is_active": true
}
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}Crear un tipo de reunión
Esta operación permite crear un tipo de reunión en la cuenta autenticada de Nexor. Esta referencia documenta campos verificados de ruta, consulta y cuerpo JSON de nivel superior, códigos de estado observados y campos de respuesta de nivel superior. Las respuestas del proveedor o con estructuras anidadas profundas pueden permanecer abiertas.
POST
/
workflows
/
{id}
/
meeting-types
Create a Meeting Type
curl --request POST \
--url https://api.getnexor.ai/api/public/workflows/{id}/meeting-types \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"duration_minutes": 30,
"buffer_after_minutes": 15,
"min_notice_hours": 2,
"max_days_ahead": 14,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"location_details": "<string>",
"allow_overbooking": false,
"max_bookings_per_slot": 11,
"color": "#6366F1",
"agent_selection_criteria": "<string>"
}
'import requests
url = "https://api.getnexor.ai/api/public/workflows/{id}/meeting-types"
payload = {
"name": "<string>",
"description": "<string>",
"duration_minutes": 30,
"buffer_after_minutes": 15,
"min_notice_hours": 2,
"max_days_ahead": 14,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"location_details": "<string>",
"allow_overbooking": False,
"max_bookings_per_slot": 11,
"color": "#6366F1",
"agent_selection_criteria": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
duration_minutes: 30,
buffer_after_minutes: 15,
min_notice_hours: 2,
max_days_ahead: 14,
event_title_template: '<string>',
event_description_template: '<string>',
location_type: 'video',
location_details: '<string>',
allow_overbooking: false,
max_bookings_per_slot: 11,
color: '#6366F1',
agent_selection_criteria: '<string>'
})
};
fetch('https://api.getnexor.ai/api/public/workflows/{id}/meeting-types', 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.getnexor.ai/api/public/workflows/{id}/meeting-types",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'duration_minutes' => 30,
'buffer_after_minutes' => 15,
'min_notice_hours' => 2,
'max_days_ahead' => 14,
'event_title_template' => '<string>',
'event_description_template' => '<string>',
'location_type' => 'video',
'location_details' => '<string>',
'allow_overbooking' => false,
'max_bookings_per_slot' => 11,
'color' => '#6366F1',
'agent_selection_criteria' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getnexor.ai/api/public/workflows/{id}/meeting-types"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"duration_minutes\": 30,\n \"buffer_after_minutes\": 15,\n \"min_notice_hours\": 2,\n \"max_days_ahead\": 14,\n \"event_title_template\": \"<string>\",\n \"event_description_template\": \"<string>\",\n \"location_type\": \"video\",\n \"location_details\": \"<string>\",\n \"allow_overbooking\": false,\n \"max_bookings_per_slot\": 11,\n \"color\": \"#6366F1\",\n \"agent_selection_criteria\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getnexor.ai/api/public/workflows/{id}/meeting-types")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"duration_minutes\": 30,\n \"buffer_after_minutes\": 15,\n \"min_notice_hours\": 2,\n \"max_days_ahead\": 14,\n \"event_title_template\": \"<string>\",\n \"event_description_template\": \"<string>\",\n \"location_type\": \"video\",\n \"location_details\": \"<string>\",\n \"allow_overbooking\": false,\n \"max_bookings_per_slot\": 11,\n \"color\": \"#6366F1\",\n \"agent_selection_criteria\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getnexor.ai/api/public/workflows/{id}/meeting-types")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"duration_minutes\": 30,\n \"buffer_after_minutes\": 15,\n \"min_notice_hours\": 2,\n \"max_days_ahead\": 14,\n \"event_title_template\": \"<string>\",\n \"event_description_template\": \"<string>\",\n \"location_type\": \"video\",\n \"location_details\": \"<string>\",\n \"allow_overbooking\": false,\n \"max_bookings_per_slot\": 11,\n \"color\": \"#6366F1\",\n \"agent_selection_criteria\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"status": "existing",
"meeting_type": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"duration_minutes": 123,
"buffer_after_minutes": 123,
"min_notice_hours": 123,
"max_days_ahead": 123,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"video_provider": "google_meet",
"location_details": "<string>",
"allow_overbooking": true,
"max_bookings_per_slot": 123,
"color": "<string>",
"agent_selection_criteria": "<string>",
"agent_selection_rules": {},
"is_active": true
}
}{
"success": true,
"status": "created",
"meeting_type": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"duration_minutes": 123,
"buffer_after_minutes": 123,
"min_notice_hours": 123,
"max_days_ahead": 123,
"event_title_template": "<string>",
"event_description_template": "<string>",
"location_type": "video",
"video_provider": "google_meet",
"location_details": "<string>",
"allow_overbooking": true,
"max_bookings_per_slot": 123,
"color": "<string>",
"agent_selection_criteria": "<string>",
"agent_selection_rules": {},
"is_active": true
}
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>"
}Autorizaciones
API key for authentication. Keys are prefixed with nxr_live_.
Parámetros de ruta
Workflow identifier.
Cuerpo
application/json
Required string length:
1 - 120Rango requerido:
5 <= x <= 480Rango requerido:
0 <= x <= 120Rango requerido:
0 <= x <= 336Rango requerido:
1 <= x <= 365Defaults to name.
Required string length:
1 - 300Opciones disponibles:
video, phone, in_person Opciones disponibles:
google_meet, teams Maximum string length:
1000Rango requerido:
2 <= x <= 20Required string length:
1 - 40Required string length:
3 - 2000Última modificación el 8 de septiembre de 2026
⌘I