ChatGPT · GPT ActionsWebhooks
Buscar notificaciones
Busca notificaciones por texto y estado desde tu GPT.
por Prompt Studio
openapinotifications
Licencia: MITVer original
Contenido
Dónde va: GPT → Configurar → Acciones → Esquema
{
"openapi": "3.1.0",
"info": {
"title": "Buscar notificaciones",
"version": "1.0.0",
"description": "Acción de GPT para notificaciones. Cambia el servidor por la URL de tu API."
},
"servers": [
{
"url": "https://api.tu-dominio.com/v1"
}
],
"paths": {
"/notifications": {
"get": {
"operationId": "searchNotifications",
"summary": "Busca notificaciones",
"parameters": [
{
"name": "q",
"in": "query",
"required": false,
"description": "Texto a buscar",
"schema": {
"type": "string"
}
},
{
"name": "status",
"in": "query",
"required": false,
"schema": {
"type": "string",
"enum": [
"en cola",
"enviada",
"fallida"
]
}
},
{
"name": "limit",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20
}
}
],
"responses": {
"200": {
"description": "Lista de notificaciones",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Notification"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Notification": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"recipient": {
"type": "string"
},
"channel": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"en cola",
"enviada",
"fallida"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
}
},
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer"
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
Más en GPT Actions
Clima por ciudad
Ejemplo mínimo de Action con API key en el encabezado.
Crear lead en el CRM
Registra contactos desde la conversación con autenticación OAuth.
Agendar reunión
Crea eventos con invitados y zona horaria.
Enviar a webhook
Publica el resultado del GPT en cualquier URL (Zapier, Make, n8n).
Buscar contactos
Busca contactos por texto y estado desde tu GPT.
Consultar contacto
Trae un registro de contactos por su ID.