ByDomuDevelopers

Agentes con agendamiento activo

GEThttps://api.bydomu.com/v1/booking/agents

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

Agentes de la organización con una página de agendamiento activa, con su slug.

Permission required

portal:read

Required header

X-API-Key · publishable or secret key

Access level

Level 1 · no request

Response 200

BookingAgent[] · 7 fields
data[]slug · id · name · firstName · lastName · avatarUrl · bio
slugstring
idstring
namestring
firstNamestring
lastNamestring
avatarUrlstring
biostring

Possible errors

shaped as { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequestGET/v1/booking/agents
Official SDK · @bydomu/sdk · not on npm yet
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.booking.listAgents();
200 OK · example
{
  "data": [
    {
      "slug": "carlos-rodriguez",
      "id": "clx1usr001",
      "name": "Carlos Rodríguez",
      "firstName": "Carlos",
      "lastName": "Rodríguez",
      "avatarUrl": "https://cdn.bydomu.com/avatars/carlos.jpg",
      "bio": "Asesor con 10 años en el mercado de Bogotá."
    }
  ]
}