Hoppa till innehållet

Aktivitet

Vad som hände i arbetsytan, dag för dag.

Öppna Aktivitet
Kontrollerad mot instrumentpanelen den 19 november 2026

Aktivitet har ingen egen metod. Sidan bygger sitt flöde i din webbläsare genom att läsa flera moduler och slå ihop det de returnerar, de nyaste först. För att få samma händelser från kod läser du samma moduler.

Flera av dem har publika metoder:

Flödena för AI-chattar, möten, Assist-sessioner och dina arbetsflödens poster med Lägg till i Activity har ingen publik metod ännu, så de kan inte läsas från kod i dag.

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']

Båda ändarna av datumintervallet måste skickas tillsammans, och slutet får inte vara tidigare än början.

Metoder

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.

Hur är den här guiden?

Senast uppdaterad den 19 november 2026