Skip to main content
POST
/
v1
/
tenants
/
{id}
/
setup-links
Generar un setup link para el tenant.
curl --request POST \
  --url https://api.keebai.com/v1/tenants/{id}/setup-links \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "language": {},
  "success_redirect_url": {},
  "failure_redirect_url": {},
  "allowed_modes": [],
  "provision_phone_number": false,
  "theme": {
    "primary": "<string>",
    "primary_foreground": "<string>",
    "background": "<string>",
    "text": "<string>",
    "muted": "<string>",
    "muted_text": "<string>",
    "card": "<string>",
    "border": "<string>",
    "destructive": "<string>",
    "destructive_foreground": "<string>",
    "secondary": "<string>",
    "secondary_foreground": "<string>"
  }
}
'
{}

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Body

application/json
language
object

Código de idioma BCP-47. null/omitido = se usa el idioma del browser del cliente final.

success_redirect_url
object
failure_redirect_url
object
allowed_modes
enum<string>[]

Modos de conexión permitidos.

Available options:
embedded_signup,
coexistence,
qr
provision_phone_number
boolean
default:false

Si true, intentar provisión automática de número (fuera de scope inicial; reservado).

theme
object

Response

201 - application/json

The response is of type object.