---
title: "Select conversation sender number"
method: POST
path: "/phone-numbers/outgoing/conversation/{conversationId}"
tags: ["PhoneNumbers"]
---

# Select conversation sender number

`POST /phone-numbers/outgoing/conversation/{conversationId}`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/phone-numbers/outgoing/conversation/{conversationId}`
- Auth: HTTP bearer

Selects the outgoing phone number for an existing conversation, considering assignments, overrides, and delivery eligibility.

## Path parameters

- `conversationId` string, required

## Request body

- OutgoingNumberSelectionRequest: Defines the fields clients can send when working with outgoing number selection.
  - `conversationId` string, nullable: Conversation ID that links this outgoing number selection request to the Leadping inbox thread.
  - `leadId` string, nullable: Lead ID used to choose the best outgoing sender number.
  - `recipientPhoneNumber` string, nullable: Recipient phone number that receives the outbound message or call.
  - `channel` 'sms' | 'call', nullable: Identifies whether an outgoing phone number is eligible for voice, SMS, MMS, or another communication channel.
  - `campaignId` string, nullable: Messaging campaign identifier associated with this outgoing number selection request.
  - `sourceId` string, nullable: Lead source ID used to choose the best outgoing sender number.
  - `teamId` string, nullable: Organization ID used to choose the best outgoing sender number.

## Response `200`

Returns the outgoing number selection response.

- OutgoingNumberSelectionResponse: Describes outgoing number selection data returned by Leadping.
  - `canSend` boolean: Indicates whether Leadping can send outbound messages using this outgoing number selection response.
  - `setupMessage` string, nullable: Human-readable setup guidance shown for this outgoing number selection response.
  - `phoneNumberId` string, nullable: Leadping phone number ID connected to this outgoing number selection response.
  - `number` string, nullable: E.164 phone number exposed by this outgoing number selection response.
  - `displayNumber` string, nullable: Human-readable phone number shown in Leadping UI and API responses.
  - `healthStatus` 'Not Evaluated' | 'Evaluating' | 'Healthy' | 'Needs Attention' | 'Blocked', nullable: Summarizes the severity of conditions affecting an organization's ability to send compliant SMS or MMS traffic.
  - `healthLabel` string, nullable: Short label describing the health state for display in dashboards.
  - `healthWarning` string, nullable: Warning text that explains a potential health or readiness issue.
  - `selectionReason` 'NearestLocation' | 'StickyConversation' | 'LeadAssigned' | 'CampaignOrSource' | 'Preferred' | 'LocalArea' | 'HealthyPool' | 'FallbackDefault' | 'ManualOverride', nullable: Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
  - `reasonLabel` string, nullable: Human-readable label for the reason code on this outgoing number selection response.
  - `wasManuallyOverridden` boolean: Indicates whether a user manually overrode Leadping's automatic number selection for this outgoing number selection response.
  - `campaignId` string, nullable: Messaging campaign identifier associated with this outgoing number selection response.
  - `sourceId` string, nullable: Lead source ID considered when Leadping selected the outgoing phone number.
  - `eligibleNumbers` EligibleOutgoingNumberResponse[]: Phone numbers that are eligible to send the requested outbound message or call.
    - `phoneNumberId` string: Leadping phone number ID connected to this eligible outgoing phone number.
    - `number` string: E.164 phone number exposed by this eligible outgoing phone number.
    - `displayNumber` string: Human-readable phone number shown in Leadping UI and API responses.
    - `state` string, nullable: Geographic state or region associated with the phone number.
    - `healthStatus` 'Not Evaluated' | 'Evaluating' | 'Healthy' | 'Needs Attention' | 'Blocked', nullable: Summarizes the severity of conditions affecting an organization's ability to send compliant SMS or MMS traffic.
    - `healthLabel` string, nullable: Short label describing the health state for display in dashboards.
    - `healthWarning` string, nullable: Warning text that explains a potential health or readiness issue.
    - `canSend` boolean: Indicates whether Leadping can send outbound messages using this eligible outgoing phone number.
    - `canCall` boolean: Whether this sender is ready for outbound calls.
    - `canText` boolean: Whether this sender is ready for outbound texts.
    - `callUnavailableReason` string, nullable: Explains why outbound calls are unavailable for this sender.
    - `textUnavailableReason` string, nullable: Explains why outbound texts are unavailable for this sender.
    - `selectionReason` 'NearestLocation' | 'StickyConversation' | 'LeadAssigned' | 'CampaignOrSource' | 'Preferred' | 'LocalArea' | 'HealthyPool' | 'FallbackDefault' | 'ManualOverride': Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
    - `reasonLabel` string: Human-readable label for the reason code on this eligible outgoing phone number.
    - `label` string, nullable: Short display label for this eligible outgoing phone number, formatted for charts, filters, or list views.
    - `campaignId` string, nullable: Messaging campaign identifier associated with this eligible outgoing phone number.
    - `sourceId` string, nullable: Lead source ID used to determine this phone number's outbound eligibility.
    - `teamId` string, nullable: Organization ID used to determine this phone number's outbound eligibility.
    - `isSelected` boolean: Indicates whether this eligible outgoing phone number was selected for the requested operation.

## Other responses

- `400`: The request was invalid or failed validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested resource or required account context was not found.
- `415`: The request content type is not supported by this endpoint.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-11-16** `95c71e3282bc`: 4 info
  - added the optional property `allOf[#/components/schemas/OutgoingNumberSelectionResponse]/eligibleNumbers/items/allOf[#/components/schemas/EligibleOutgoingNumberResponse]/callUnavailableReason` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/OutgoingNumberSelectionResponse]/eligibleNumbers/items/allOf[#/components/schemas/EligibleOutgoingNumberResponse]/canCall` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/OutgoingNumberSelectionResponse]/eligibleNumbers/items/allOf[#/components/schemas/EligibleOutgoingNumberResponse]/canText` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/OutgoingNumberSelectionResponse]/eligibleNumbers/items/allOf[#/components/schemas/EligibleOutgoingNumberResponse]/textUnavailableReason` to the response with the `200` status
- **2026-11-14** `097fd4bbf71c`: 1 info
  - added the optional property `allOf[#/components/schemas/OutgoingNumberSelectionResponse]/eligibleNumbers/items/allOf[#/components/schemas/EligibleOutgoingNumberResponse]/state` to the response with the `200` status
- **2026-11-11** `81aed8c9afb7`: 3 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `415`
  - added the non-success response with the status `500`
- …earlier changes not shown

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/phone-numbers/outgoing/conversation/:conversationId/post.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
