Skip to main content
GET
Obtener una geofence por ID

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Path Parameters

id
string
required

MongoDB ObjectId de la geofence (24 caracteres hex)

Pattern: ^[a-fA-F0-9]{24}$

Response

Geofence encontrada

status
string
Example:

"success"

data
object