Obtener detalle de una nota
curl --request GET \
--url https://api.keebai.com/v1/crm/notes/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.keebai.com/v1/crm/notes/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.keebai.com/v1/crm/notes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.keebai.com/v1/crm/notes/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.keebai.com/v1/crm/notes/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.keebai.com/v1/crm/notes/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.keebai.com/v1/crm/notes/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"note": {
"_id": "<string>",
"content": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"chat_user": "<string>",
"ticket_id": "<string>"
}
}Notes
GET /v1/crm/notes/:id
Fetch a single note by id.
GET
/
v1
/
crm
/
notes
/
{id}
Obtener detalle de una nota
curl --request GET \
--url https://api.keebai.com/v1/crm/notes/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.keebai.com/v1/crm/notes/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.keebai.com/v1/crm/notes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.keebai.com/v1/crm/notes/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.keebai.com/v1/crm/notes/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.keebai.com/v1/crm/notes/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.keebai.com/v1/crm/notes/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"note": {
"_id": "<string>",
"content": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"chat_user": "<string>",
"ticket_id": "<string>"
}
}Returns one note.
Endpoint
GET https://api.keebai.com/v1/crm/notes/{id}
Required scope
crm:notes:read
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer kbai_pk_<token> |
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | ObjectId of the note. |
Example request
curl https://api.keebai.com/v1/crm/notes/65a1f2b3c4d5e6f7a8b9c0d1 \
-H "Authorization: Bearer kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
const response = await fetch(`https://api.keebai.com/v1/crm/notes/${noteId}`, {
headers: { Authorization: `Bearer ${process.env.KEEBAI_API_TOKEN}` },
});
const { note } = await response.json();
import os, requests
resp = requests.get(
f"https://api.keebai.com/v1/crm/notes/{note_id}",
headers={"Authorization": f"Bearer {os.environ['KEEBAI_API_TOKEN']}"},
timeout=10,
)
resp.raise_for_status()
note = resp.json()["note"]
Response
200 OK
{
"note": {
"_id": "65a1f2b3c4d5e6f7a8b9c0d1",
"chat_user": "66c1d2e3f4a5b6c7d8e9f0a1",
"ticket_id": "65f4b5c6d7e8f9a0b1c2d3e4",
"content": "Llamé al cliente, quedó de confirmar el lunes.",
"type": "call",
"created_by": "68e1f2a3b4c5d6e7f8a9b0c1",
"created_at": "2026-05-02T14:31:07.221Z",
"updated_at": "2026-05-02T14:31:07.221Z"
}
}
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have thecrm:notes:read scope.
404 Not Found
No note with that id, or the note belongs to a different company.Was this page helpful?
⌘I