RapidAPI logo

Sign Up

Log In

NLP and Voice interface for Apps wit.ai

FREE
By ar7hur
Updated 3 months ago
Communication
4.9/10
Popularity Score
1152ms
Latency
92%
Success Rate

NLP and Voice interface for Apps wit.ai API Documentation

Wit.ai enables developers to build apps and devices that users can talk to.

View API Details
GETMessage
GETMessage

Turn text into structured meaning

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
qSTRING
REQUIREDSentence you want Wit to analyze. First, you should connect to your Wit console and provide samples to Wit!
Request Snippet
unirest.get("https://wit.p.rapidapi.com/message?q=conf+call+with+Eric+tomorrow+morning+at+6am")
.header("X-RapidAPI-Host", "wit.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://wit.p.rapidapi.com/message?q=conf+call+with+Eric+tomorrow+morning+at+6am")
.header("X-RapidAPI-Host", "wit.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication