[api-sync 2026-07-31] gradientlabs-nodejs: split outbound conversation start into chat/email/phone - #14
Merged
Merged
Conversation
POST /outbound/conversations has been removed from the public API and
replaced by /outbound/conversations/{chat,email,phone}.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
gmtuca
force-pushed
the
api-client-sync/2026-07-31
branch
from
July 31, 2026 13:43
4131b84 to
f75d416
Compare
gmtuca
commented
Jul 31, 2026
| @@ -1,2 +1,2 @@ | |||
| // Kept in sync with the "version" field in package.json. | |||
| export const VERSION = "0.1.2"; | |||
| export const VERSION = "0.2.0"; | |||
gmtuca
force-pushed
the
api-client-sync/2026-07-31
branch
from
August 4, 2026 14:51
f75d416 to
713b345
Compare
vlad-tokarev
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the Node.js SDK to a single public-API change:
POST /outbound/conversationswas removed and replaced by three channel-specific endpoints.Outbound conversation start split per channel
client.outboundConversations.start()is removed. So areStartOutboundConversationParamsand itscustomer_sourcefield.Replaced by one method per channel, all returning
{ conversation_id }:startChat()POST /outbound/conversations/chatcustomer_id,procedure_id,support_platformbody,customer_support_platform_identifiers,resourcesstartEmail()POST /outbound/conversations/emailcustomer_id,procedure_id,support_platformsubject+body(together or neither),customer_support_platform_identifiers,resourcesstartPhone()POST /outbound/conversations/phonecustomer_id,procedure_id,to_phone_number,from_phone_numbercustomer_support_platform_identifiers,resourcesMigration
start({ channel: "voice", ... })startPhone({ to_phone_number, from_phone_number, ... })start({ channel: "email", ... })startEmail({ ... })start({ channel: "web", ... })startChat({ ... })customer_source: "intercom"customer_idis now always your own customer ID; third-party platform IDs move tocustomer_support_platform_identifiers, keyed by platform (Zendesk requires typezendesk_support_user, Salesforcesalesforce_contact_id).support_platformoptional (auto-selected highest-priority platform)startChat/startEmail. No auto-selection.startPhonehas nosupport_platformat all — the API pins voice/livekit.subject/bodyindependently optionalChannelis no longer part of any outbound param — the endpoint path selects the channel.Version
0.1.2→0.1.3(patch — the removed endpoint has no known users, so this does not warrant a major bump). Bumped inpackage.jsonand theVERSIONconstant behind theUser-Agentheader so the publish workflow's tag check passes.CHANGELOG.mdupdated. No tag pushed.Note:
0.1.2was never published to npm (latest published is0.1.1), so taggingv0.1.3will ship the unreleasedreason_codechange alongside this one.Verification
support_platform)eslint .cleannpm run typecheckandnpm run format:check— both clean🤖 Generated with Claude Code