Portal
Integrations

Yeastar P-Series

Configure Yeastar P-Series to send SMS through FutureSMS-compatible endpoints.

Overview

FutureSMS can be configured as a custom SMS service provider for Yeastar P-Series Omnichannel Messaging. Yeastar stays the PBX-side user interface; FutureSMS provides the authentication key, send URL, verification URL, configured sender, and SMS delivery pipeline.

Use Yeastar's official documentation for PBX-side screens and field names. Use this page to understand what FutureSMS expects and returns.

Yeastar Cloud Edition guide

PBX-side setup guide for Yeastar P-Series Cloud Edition.

Yeastar Appliance Edition guide

PBX-side setup guide for Yeastar P-Series Appliance Edition.

Before You Begin

Prepare a Yeastar P-Series environment that supports custom SMS service provider configuration, and choose the FutureSMS sender that should be used for Yeastar-originated messages.

FutureSMS will provide a dedicated Yeastar API key, send-message URL, and verification URL for this integration. Do not use Merchant API login credentials as the Yeastar API key.

Configure the PBX-side fields by following Yeastar's official guide, then use this page to understand the FutureSMS-side contract and expected request behavior.

What FutureSMS Provides

ValuePurpose
Yeastar API keyDedicated Bearer API key for Yeastar requests.
Send Message URLYeastar calls this URL when a user sends an SMS.
Authentication Verification URLYeastar can call this URL to verify the API key.
Configured senderFutureSMS sender identity linked to the Yeastar configuration.

FutureSMS Endpoints

MethodPathPurpose
GET/api/v1/integration/yeastar/sms/verifyAuthentication verification URL.
POST/api/v1/integration/yeastar/sms/sendmessageSend message URL.

Both endpoints use Authorization: Bearer {api_key}.

Request Flow

  1. Yeastar verifies the configured API key if verification is enabled.
  2. A Yeastar user sends an SMS from a configured channel.
  3. Yeastar posts from, to, and text to the FutureSMS send-message URL.
  4. FutureSMS resolves the configured sender for the request.
  5. FutureSMS validates the account, recipient, sender, and SMS content.
  6. FutureSMS creates an SMS order and returns the order id to Yeastar as data.id.

Send Message Request

FieldTypeRequiredRules
fromstringYesYeastar sender phone number in E.164 format.
tostringYesRecipient phone number in E.164 format.
textstring or nullNoSMS text content, max 2000 chars before FutureSMS validation.
media_urlsstring array or nullNoMMS media URLs; not supported.

FutureSMS sends outbound SMS text only. media_urls is rejected.

Supported Scope

The Yeastar integration is for outbound SMS from Yeastar through a configured FutureSMS sender. It does not expose arbitrary sender selection to Yeastar, and it does not turn the Merchant API token flow into a Yeastar credential. Yeastar uses the dedicated Yeastar API key.

Status codes

Yeastar integration endpoints return Yeastar-compatible errors instead of the Merchant API error envelope.

HTTP statusCodeTitleTypical meaning in this integration
40010001Invalid phone numberfrom or to is not a usable SMS phone number.
40010002Invalid parameterRequired text or request fields are missing or invalid.
40010003Unsupported mediamedia_urls was provided, but this integration sends SMS text only.
40110004Authentication failedThe Yeastar API key is missing or invalid.
40310005No permissionThe configured sender, account, or integration setup cannot send this message.
42910006Too many requestsRequests are arriving faster than the integration should process.
50010007Service unavailableThe message could not be accepted because the service is temporarily unavailable.

Examples

Yeastar send request
{
  "from": "+630000000001",
  "to": "+639171234567",
  "text": "Hello from Yeastar"
}
FutureSMS response to Yeastar
{
  "data": {
    "id": "SDPS260325103012A1B2C3D"
  }
}
Yeastar-compatible error
{
  "errors": [
    {
      "code": "10005",
      "title": "No permission",
      "detail": "No permission"
    }
  ]
}