Key visual of Botpress Series B announcement






























const options = {
  method: 'POST',
  headers: {
  'x-user-key':'<x-user-key>',
  'Content-Type': 'application/json'
  },
  body: '{
  "payload":{"audioUrl":"<string>", "type":"audio"},
  "conversationId":"<string>"
  }'
};

fetch('https://chat.botpress.cloud/{webhookUrl}/messages', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{
  "name":"<string>",
  "factor":1,"frozen":true,
  "schema":{},
  "tags":{},
  "isComputeEnabled":true}'
};

fetch('https://api.botpress.cloud/v1/tables', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
  

const options = {
  method: 'POST', headers: {'Content-Type': 'application/json'},
  body: '{
  "states":{},"events":{},"recurringEvents":{},
  "subscriptions":{"events":{}},"actions":{},
  "configuration":{"data":{},"schema":{}},
  "user":{"tags":{}},"conversation":{"tags":{}},
  "message":{"tags":{}},"tags":{},"code":"<string>","name":"<string>",
  "medias":[{"url":"<string>","name":"<string>"}],
  "url":"<string>","dev":true}'
};

fetch('https://api.botpress.cloud/v1/admin/bots', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
Build
better
with Botpress
Get
started
An illustration of books, a plant, and a laptop on a table.