FeedByte

API

Partner resources for surveys, responses, capture links, locations, and webhooks.

Call the API with the Server SDK or HTTPS to https://api.feedbyte.io. Authenticate with a secret API key or an OAuth access token. Public capture URLs need neither.

Surveys and responses

SDKPurpose
feedbyte.surveys.listList surveys in the organization
feedbyte.surveys.getFetch one survey
feedbyte.surveys.createCreate a draft (instant or detailed)
feedbyte.surveys.updateEdit a draft
feedbyte.surveys.publish / archiveLifecycle
feedbyte.responses.summaryAggregated metrics
feedbyte.responses.getOne response, including metadata and linkId
feedbyte.responses.listPaginated responses (metadata and linkId on each item)
feedbyte.responses.searchSearch over text and transcripts
feedbyte.responses.exportCSV export (metadata column is JSON)
const feedbyte = new FeedByte("fb_live_…");

await feedbyte.surveys.list({ status: "active" });
const response = await feedbyte.responses.get("res_91…");
response.metadata; // partner keys from the Capture link
await feedbyte.responses.list({ surveyId, limit: 50 });

Respondents load and submit surveys through the public capture URLs, not this API. See Capture. To stamp a response with your own ids, create a Capture link.

SDKPurpose
feedbyte.links.createIssue a unique survey URL with partner metadata
feedbyte.links.getFetch one Capture link
const link = await feedbyte.links.create({
  surveyId,
  stationId,
  expiresIn: 86400,
  metadata: { callId: "c-8841", agentId: "agt_12" },
});
// link.url → https://feedbyte.io/l/{linkId}

Public resolution is /l/{linkId}. Metadata is copied onto the response at submit and returned by responses.get, responses.list, responses.export, and response.submitted. See Capture links.

Locations and stations

SDKPurpose
feedbyte.locations.create list get update deleteLocations in the organization
feedbyte.stations.create list get update deleteStations in a location

QR codes

SDKPurpose
feedbyte.qrCodes.create list get update deleteManage QR codes
feedbyte.qrCodes.setSurveysBind surveys to a QR

Public resolution is the /q/{slug} URL. See Capture.

Loyalty

Staff: feedbyte.loyalty.getConfig, updateConfig, listRewards, createReward, listRedemptions, fulfillRedemption.

Respondents use the public rewards page at /rewards/{orgSlug}.

Analytics

feedbyte.analytics.overview, sentimentOverTime, byLocation, byStation, healthScore, verbatimFeed.

Apps and webhooks

SDKPurpose
feedbyte.apps.list get rotateKeyManage Apps in the organization
feedbyte.webhooks.create list deleteHTTPS endpoints and event subscriptions

Webhook delivery itself is documented in Webhooks.

Errors

Failed calls throw with code and message. Common codes: UNAUTHORIZED, FORBIDDEN, NOT_FOUND, BAD_REQUEST.

On this page