Preskočiť na obsah

Aktivita

Čo sa v pracovnom priestore stalo, deň po dni.

Otvoriť Aktivita
Overené voči nástenke dňa 19. novembra 2026

Activity nemá vlastnú metódu. Stránka skladá svoj prúd vo vašom prehliadači tak, že číta niekoľko modulov a zlučuje, čo vrátia, od najnovšieho. Ak chcete získať rovnaké udalosti z kódu, čítajte tie isté moduly.

Viaceré z nich majú verejné metódy:

Prúdy AI chatov, stretnutí, relácií Assist a záznamov Pridať do Activity z vašich workflow zatiaľ nemajú verejnú metódu, takže sa dnes z kódu čítať nedajú.

curl -s https://xuda.ai/cpi/get_notifications \
  -H 'content-type: application/json' \
  -d '{"api_key":"YOUR_API_KEY","date_from":1,"date_to":9999999999999,"limit":30}'
const res = await fetch('https://xuda.ai/cpi/get_notifications', {
  method: 'POST',
  headers: { 'content-type': 'application/json' },
  body: JSON.stringify({ api_key: 'YOUR_API_KEY', date_from: 1, date_to: 9999999999999, limit: 30 }),
});
const { code, data } = await res.json();
import requests

res = requests.post(
    'https://xuda.ai/cpi/get_notifications',
    json={'api_key': 'YOUR_API_KEY', 'date_from': 1, 'date_to': 9999999999999, 'limit': 30},
)
data = res.json()['data']

Oba konce rozsahu dátumov sa musia poslať spolu a koniec nesmie byť skôr ako začiatok.

Metódy

POST/cpi/get_notifications
user

Get Notifications

Queries CouchDB for the requesting user's notifications (inbox, outbox, or system) filtered by status and optional date range.

POST/cpi/ticket_api_list
user

API: List Tickets

External service: lists tickets on the desk owned by the API key, with the same filters as the manager.

POST/cpi/get_calendar_bookings
user

Get Calendar Bookings

The account's bookings, upcoming by default. Each row carries the time in the resource's zone, the attendee's details and anything they said when booking.

POST/cpi/list_voice_calls
user

List Phone Calls

Returns the authenticated customer's inbound and outbound call history without provider credentials.

POST/cpi/get_contacts
user

Get Contacts

Retrieves contacts.

Aký je tento návod?

Naposledy aktualizované dňa 20. novembra 2026