API
The API channel allows you to integrate Periscope's AI capabilities directly into your applications through RESTful endpoints. This section covers:
Overview
The API channel provides a simple way to send messages to Periscope's AI system programmatically. When you send a message through the API:
- The system immediately returns a 200 status code to acknowledge that your message has been successfully queued
- Your message is processed asynchronously by the AI system
- Once processing is complete, the response is sent to your configured webhook endpoint
- If no webhook is configured, you won't receive the AI's response
- See Response Webhook for setup instructions
- Any metadata object included in your API request will be returned unchanged with the response
- This allows you to maintain context between your request and response
- For details on metadata handling, see Response Webhook
Topics
- Sending Messages - Learn how to send messages using the API
- API Keys - Manage authentication and access control
- Response Webhook - Configure webhook endpoints for asynchronous responses
Choose a topic above to learn more about each aspect of the API integration.