/smileback:api-patternsfrom smileback
Documents the 12 read-only SmileBack Data Replication API v3 tools exposed through Conduit, including OAuth2 password-grant auth, US/EU region selection, limit/offset pagination, response truncation, and client-side filtering.
Ships in smileback. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
SmileBack collects customer feedback for MSPs: a one-click CSAT reaction
on each closed PSA ticket, NPS campaigns, and project surveys. The
Conduit connector reads that data through SmileBack's Data Replication
API v3. The API itself is read-only (OAuth scopes read and
read_recent), so every tool is a GET. Nothing can create, change or
delete data in SmileBack. Follow-up actions happen in the PSA.
Claude Code reaches SmileBack through Conduit's unified endpoint
(https://conduit.wyre.ai/v1/mcp, via wyre-gateway). Conduit stores five
values when you connect SmileBack in the Conduit web UI
(/connect/smileback) and maps them to these headers on every call.
Nothing is set on the client, and Conduit drops any X-SmileBack-* header
a client sends:
| Conduit field | Header | Required |
|---|---|---|
| Client ID | X-SmileBack-Client-Id | Yes |
| Client Secret | X-SmileBack-Client-Secret | Yes |
| Username (email) | X-SmileBack-Username | Yes |
| Password | X-SmileBack-Password | Yes |
| Region | X-SmileBack-Region | No (us or eu, default us) |
us is app.smileback.io. Pick eu only if the account
lives on app.smileback.eu. There is no base-URL field; the server
only ever calls one of those two hosts.The server runs the OAuth2 password grant itself, caches the access token, and on a 401 fetches one fresh token and retries once. Refresh tokens are not used.
All 12 tools are classified read in Conduit. None is admin-gated and none is a write, so any Conduit role that can read the SmileBack connector sees the whole surface. Two consequences the tier does not show:
Conduit does not cache SmileBack results, so every call reaches SmileBack.
| Tool | Endpoint | Parameters | Paged |
|---|---|---|---|
smileback_reviews_list | GET /reviews/ | modified_since, include_unrated, limit, offset | Yes |
smileback_reviews_list_recent | GET /reviews/recent/ | limit, offset | Yes |
smileback_reviews_get | GET /reviews/{review_id}/ | review_id (required) | No |
smileback_nps_responses_list | GET /nps-responses/ | created_since, campaign_name, score_gt, score_lt, score_exact, limit, offset | Yes |
smileback_nps_responses_get | GET /nps-responses/{response_id}/ | response_id (required) | No |
smileback_nps_campaigns_list | GET /nps-campaigns/ | none | No |
smileback_csat_companies_list | GET /csat-companies/ | none | No |
smileback_csat_contacts_list | GET /csat-contacts/ | none | No |
smileback_csat_agents_list | GET /csat-agents/ | none | No |
smileback_csat_boards_list | GET /csat-boards/ | none | No |
smileback_project_surveys_list | GET /prj-surveys/ | none | No |
smileback_project_responses_list | GET /prj-responses/ | created_since | No |
What the records hold:
rating, comment, ticket (id, title,
segment = the PSA board, agents, closed_on), contact,
company (id, name, territory, market), status, tags,
rated_on, permalink, last_modified.score (0-10), comment,
has_marketing_permission, contact (name, email, company, title,
location), contact_remote_id, campaign_name, created_at.ticket.segment).SmileBack's CSAT reaction is a three-point scale (positive, neutral,
negative). Read the rating values on the first page you fetch before
computing anything, rather than assuming how they are encoded.
The API has no per-company filter, no aggregate endpoint and no date upper bound. To get a client's CSAT for a quarter:
smileback_reviews_list with modified_since set to the start
of the window and page to the end.company.id matches and whose rated_on falls
inside the window.modified_since filters on last_modified, not rated_on. A review
rated last year but edited this week comes back, so the rated_on filter
in step 2 is required. Every review rated inside the window has
last_modified at or after rated_on, so nothing is missed. When you
also need a response rate (include_unrated: true), place rated and
unrated reviews by ticket.closed_on instead, as smileback-csat-qbr-summary
does, so both come from the same cohort.
NPS responses are grouped by contact.company, which is a name, not the
CSAT company ID. Match names carefully and report any responses whose
company you could not match.
Dates are ISO 8601 dates or date-times (2026-10-01 or
2026-10-01T00:00:00Z). NPS score filters are integers 0-10;
detractors are score_lt: 7.
smileback_reviews_list, smileback_reviews_list_recent and
smileback_nps_responses_list use limit/offset and return
{count, next, previous, results} as SmileBack sent it.
limit defaults to 50 and is capped at 100.offset
until next is null, and compare the rows you collected with count
before calling a set complete.smileback_project_responses_list
returns everything since created_since, so always pass it.Output is capped at about 60,000 characters. When a page is larger,
items are dropped from the end of results and the response adds
truncated: true, returned_items, total_items_in_page and a
truncation_hint. count, next and previous are kept unchanged.
On a truncated page, the next offset is the current offset plus
returned_items. The next URL assumes the whole page arrived, so
following it skips the dropped rows. Lower limit (25 works well for
reviews with long comments) and continue. If even the first item is too
large, results is empty and first_item_truncated holds the start of
it; fetch that record on its own with smileback_reviews_get or
smileback_nps_responses_get.
Vendor errors come back as tool errors with the HTTP status, the OAuth error code from the token endpoint, and SmileBack's message.
| Error | Meaning | Fix |
|---|---|---|
invalid_client | Client ID or Client Secret wrong, or the wrong region | Copy both again from Account > API Credentials; confirm us or eu |
invalid_grant | Username or password wrong, or the wrong region | Use the user's email and native SmileBack password; confirm the region |
| HTTP 401 with no SmileBack status | A required field is missing from the Conduit connection | Reconnect SmileBack in Conduit with all four required fields |
| 404 | Unknown review or response ID | Re-list; IDs are integers |
| Argument error | Bad date, score outside 0-10, empty campaign name | Fixed client-side; never reached SmileBack |
SmileBack publishes no rate limit but asks integrators to keep bandwidth
low. The server retries only a 401. On a 429 or a 5xx, wait before
retrying and do not loop. Use modified_since and created_since to
read only what changed rather than re-pulling full history, and pull a
quarter once, then compute every client from that one pull.
smileback-csat-qbr-summary builds a per-client CSAT/NPS review.smileback-detractor-follow-up triages negative reviews and NPS
detractors.smileback-technician-csat reports CSAT by technician and board.What SKILL.md sets; muted values are Claude Code's defaults
When calling any SmileBack tool, paging through reviews or NPS responses, or diagnosing a SmileBack connection failure. Use when: smileback api, smileback mcp, smileback auth, smileback credentials, smileback 401, invalid_grant, invalid_client, smileback pagination, smileback region, or "can Claude write to SmileBack".
Three short reads, in order
4 skills in this plugin
/csat-qbr-summarySmileBack CSAT and NPS QBR SummaryBuilding a per-client customer-satisfaction section for a QBR or account review from SmileBack: resolving the client, pulling a quarter of CSAT reviews and NPS responses, computing satisfaction, response rate and NPS with period-over-period change, reading project survey results, picking representative comments, and the sample-size and data-protection caveats that keep the numbers honest.
/detractor-follow-upSmileBack Detractor Follow-UpFinding and triaging unhappy customers in SmileBack: negative and neutral CSAT reviews on recent tickets and NPS detractors, enriching each with the ticket, board, technicians and comment, spotting repeat detractors and at-risk clients, checking what follow-up SmileBack already records, and handing each case to the PSA because SmileBack's API cannot record a follow-up.
/technician-csatSmileBack Technician and Board CSATReporting CSAT by technician and by PSA service board from SmileBack: mapping reviews to the agents and boards on each ticket, per-tech response rate and satisfaction with minimum sample sizes, handling tickets credited to several agents and techs who have left, surfacing praise for recognition and negatives for coaching, and keeping the output fair enough to use in a one-to-one.
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin smilebackOther plugins' skills for the same job