Reservar cupo
curl --request POST \
--url https://api.revem.ai/meetings/public/v1/{id}/bookings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({contactId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.revem.ai/meetings/public/v1/{id}/bookings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revem.ai/meetings/public/v1/{id}/bookings"
payload = { "contactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true
}{
"error": "<string>"
}{
"error": "Unauthorized",
"message": "Invalid API key"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"ok": false,
"error": "Too many requests. Retry in 1 minute."
}Reuniones
Reservar cupo
Agrega un contacto a una reunión con cupos. Repetir una reserva activa no consume otro cupo.
POST
/
meetings
/
public
/
v1
/
{id}
/
bookings
Reservar cupo
curl --request POST \
--url https://api.revem.ai/meetings/public/v1/{id}/bookings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({contactId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.revem.ai/meetings/public/v1/{id}/bookings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revem.ai/meetings/public/v1/{id}/bookings"
payload = { "contactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true
}{
"error": "<string>"
}{
"error": "Unauthorized",
"message": "Invalid API key"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"ok": false,
"error": "Too many requests. Retry in 1 minute."
}Authorizations
La API key de tu organización, con la forma rvm_<prefijo>.<secreto>, enviada como Authorization: Bearer rvm_…. Revem la emite y sólo se muestra una vez; si la pierdes se reemplaza, no se recupera.
Path Parameters
ID de la reunión.
Body
application/json
Response
Operación completada.
