NUWAY API

NUWAY API

The NUWAY API is a REST API over HTTPS with JSON request and response bodies. It gives your systems the same AI workers, knowledge, plan and billing as your dashboard and website widget.

Base URL

https://ai.nuway.co/api/v1/external

All endpoints in this documentation are relative to this base URL. The version, v1, is part of the path.

Authentication

Send your API key in the X-API-KEY header on every request. See Authentication and API keys.

Resources

ResourceWhat you can do
ChatSend a customer's message to your AI workers and get the reply, in a new or an existing conversation.
ConversationsList conversations from every channel, and read one with its messages.
LeadsList scored leads and read one lead.
Team membersList the people customers can book meetings with.
MeetingsList meetings, find free time slots and cancel meetings.
KnowledgeList training data, upload documents and add, update or delete FAQs.

See the API reference for every endpoint.

Conventions

  • JSON request and response bodies, UTF-8. File uploads use multipart/form-data.
  • List endpoints are paginated. See Requests and responses.
  • Errors return an HTTP status and a JSON body with detail. See Errors and rate limits.
  • Requests count against a per-company rate limit, and chat replies are billed like website chat replies. See Usage limits and billing.

Server-side only

The API key gives full access to your company's conversations, leads and training data. Call the API from your server, never from browser JavaScript or mobile apps. See Security.

In this section