Create a booking page
curl -X POST "https://api.meetonbridge.com/v1/booking-pages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (bridge_live_...)" \
-d '{
"name": "John Doe",
"description": "null",
"duration_minutes": 42,
"timezone": "null",
"slug": "example_string",
"status": "active",
"visibility": "public",
"scheduling_method": "one_on_one",
"host_user_ids": [
123
],
"location_type": "bridge",
"reminder_minutes": [
42
],
"collection_id": "null"
}'
import requests
import json
url = "https://api.meetonbridge.com/v1/booking-pages"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (bridge_live_...)"
}
data = {
"name": "John Doe",
"description": "null",
"duration_minutes": 42,
"timezone": "null",
"slug": "example_string",
"status": "active",
"visibility": "public",
"scheduling_method": "one_on_one",
"host_user_ids": [
123
],
"location_type": "bridge",
"reminder_minutes": [
42
],
"collection_id": "null"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://api.meetonbridge.com/v1/booking-pages", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (bridge_live_...)"
},
body: JSON.stringify({
"name": "John Doe",
"description": "null",
"duration_minutes": 42,
"timezone": "null",
"slug": "example_string",
"status": "active",
"visibility": "public",
"scheduling_method": "one_on_one",
"host_user_ids": [
123
],
"location_type": "bridge",
"reminder_minutes": [
42
],
"collection_id": "null"
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"name": "John Doe",
"description": "null",
"duration_minutes": 42,
"timezone": "null",
"slug": "example_string",
"status": "active",
"visibility": "public",
"scheduling_method": "one_on_one",
"host_user_ids": [
123
],
"location_type": "bridge",
"reminder_minutes": [
42
],
"collection_id": "null"
}`)
req, err := http.NewRequest("POST", "https://api.meetonbridge.com/v1/booking-pages", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (bridge_live_...)")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.meetonbridge.com/v1/booking-pages')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (bridge_live_...)'
request.body = '{
"name": "John Doe",
"description": "null",
"duration_minutes": 42,
"timezone": "null",
"slug": "example_string",
"status": "active",
"visibility": "public",
"scheduling_method": "one_on_one",
"host_user_ids": [
123
],
"location_type": "bridge",
"reminder_minutes": [
42
],
"collection_id": "null"
}'
response = http.request(request)
puts response.body
{
"status": "example_string",
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "John Doe",
"slug": "example_string",
"description": "null",
"duration_minutes": 42,
"timezone": "null",
"status": "active",
"visibility": "public",
"booking_url": "null",
"location_type": "bridge",
"location": "null",
"scheduling_method": "one_on_one",
"hosts": [
{
"id": 123,
"name": "John Doe",
"email": "null"
}
],
"collection_id": "null",
"questions": [
{
"id": "example_string",
"label": "example_string",
"type": "example_string",
"required": true,
"options": "null"
}
],
"collect_guests": true,
"collect_notes": true,
"reminder_minutes": [
42
],
"created_at": "2024-12-25T10:00:00Z",
"updated_at": "2024-12-25T10:00:00Z"
}
}
{
"error": "Bad Request",
"message": "The request contains invalid parameters or malformed data",
"code": 400,
"details": [
{
"field": "email",
"message": "Invalid email format"
}
]
}
{
"error": "Unauthorized",
"message": "Authentication required. Please provide a valid API token",
"code": 401
}
{
"error": "Forbidden",
"message": "You don't have permission to access this resource",
"code": 403
}
{
"error": "Too Many Requests",
"message": "Rate limit exceeded. Please try again later",
"code": 429,
"retryAfter": 3600
}
POST
/booking-pages
POST
Base URLstring
Target server for requests. Edit to use your own host.
Bearer Token (bridge_live_...)
Bearer Tokenstring
RequiredBearer token (bridge_live_...) - just enter the token, "Bearer" prefix will be added automatically
Content-Typestring
RequiredThe media type of the request body
Options: application/json
namestring
Max length: 200
duration_minutesinteger
Min: 5 • Max: 480
statusstring
Options: active, inactive, paused
visibilitystring
Options: public, unlisted
scheduling_methodstring
Options: one_on_one, collective, round_robin
location_typestring
Options: bridge, in_person, none
collection_idstringnull
Format: uuid
Request Preview
Response
Response will appear here after sending the request
Authentication
header
Authorizationstring
RequiredBearer token (bridge_live_...). Authentication token required.
Body
application/json
statusstring
Allowed values:
activeinactivepausedvisibilitystring
Allowed values:
publicunlistedscheduling_methodstring
Allowed values:
one_on_onecollectiveround_robinlocation_typestring
Allowed values:
bridgein_personnoneResponses
Was this page helpful?