[api-sync 2026-07-31] gradientlabs-dotnet: split outbound conversation start into chat/email/phone - #12
Merged
Merged
Conversation
POST /outbound/conversations has been removed from the public API and replaced
by /outbound/conversations/{chat,email,phone}. Replace Outbound.StartConversationAsync
with StartChatConversationAsync, StartEmailConversationAsync and
StartPhoneConversationAsync, each with its own request type.
customer_source no longer exists: CustomerId is always the caller's own customer
ID, and third-party platform IDs go in CustomerSupportPlatformIdentifiers. The
CustomerSource string enum is gone from the spec components, so drop it here too.
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
0e34aba to
63de1ad
Compare
gmtuca
force-pushed
the
api-client-sync/2026-07-31
branch
from
August 4, 2026 14:51
63de1ad to
bb7217d
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 SDK to one change in the public API:
POST /outbound/conversationswas removed and replaced by/outbound/conversations/chat,/emailand/phone.Outbound conversation start split per channel
Outbound.StartConversationAsyncandStartOutboundConversationRequestare removed. There is now one method (and one request type) per channel, each still returningStartOutboundConversationResponsewith aConversationId.StartConversationAsyncwithChannel = ConversationChannel.WebStartChatConversationAsync(StartOutboundChatConversationRequest)StartConversationAsyncwithChannel = ConversationChannel.EmailStartEmailConversationAsync(StartOutboundEmailConversationRequest)StartConversationAsyncwithChannel = ConversationChannel.VoiceStartPhoneConversationAsync(StartOutboundPhoneConversationRequest)Field-level migration:
CustomerSourceCustomerIdis always your own customer ID; third-party platform IDs go inCustomerSupportPlatformIdentifiers(Zendesk requires typezendesk_support_user, Salesforcesalesforce_contact_id). TheCustomerSourcetype is gone from the spec components and has been deleted here.SupportPlatformoptionalChannelSubject/BodyBodyalone; both are optional, and the agent writes the opening message when omitted.ToPhoneNumberandFromPhoneNumber(E.164; the from-number must already be provisioned for the company).CustomerSupportPlatformIdentifiersandResourcesare optional on all three.Version
0.1.1→0.1.2(patch — the removed endpoint has no known users, so this does not warrant a major bump), plus aCHANGELOG.mdentry. No tag created or pushed.The User-Agent version is derived from the assembly informational version, which comes from
<Version>, so the two stay in step automatically — there is no separate constant to update.Verification
New
tests/GradientLabs.Api.Tests/OutboundTests.cscovers the three paths, required/optional field serialisation, omission of unset optionals, and API error propagation.FakeHttpMessageHandlergainedLastRequestBodyso tests can assert on request payloads.🤖 Generated with Claude Code