Tüm Ürünler
Search
Belge Merkezi

:BatchSendMessageToGlobe

Son Güncelleme:Sep 30, 2026

Çin anakarası dışındaki ülke veya bölgelerdeki birden fazla alıcıya mesaj gönderir.

Operation description

Kullanım notları

  • BatchSendMessageToGlobe işlemini Çin anakarasına mesaj göndermek için çağıramazsınız.

  • BatchSendMessageToGlobe işlemini, aynı anda az sayıda cep telefonu numarasına bildirim ve tanıtım mesajları göndermek için çağırabilirsiniz. Aynı anda çok sayıda cep telefonu numarasına mesaj göndermek için SMS konsolunun toplu mesaj gönderme özelliğini kullanın.

  • Mesajların zamanında gönderilmesini sağlamak için SendMessageToGlobe işlemini çağırın.

  • Her istekte en fazla 1.000 cep telefonu numarasına mesaj gönderebilirsiniz.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dysms:BatchSendMessageToGlobe

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

To

string

Yes

Alıcının cep telefonu numarası. Her cep telefonu numarasının başına ülke kodunu eklemeniz gerekir.

Daha fazla bilgi için bkz. Ülke kodları.

[\"931520581****\",\"931530581****\",\"931540581****\",\"931550581****\"]

From

string

No

Göndericinin cep telefonu numarası. API işlemini çağırırken gönderici kimliğini belirtebilirsiniz. Gönderici kimliği yalnızca rakam ve harf içerebilir. Gönderici kimliği harf içeriyorsa en fazla 11 karakter uzunluğunda olabilir. Gönderici kimliği yalnızca rakam içeriyorsa en fazla 15 karakter uzunluğunda olabilir.

Alicloud321

Message

string

Yes

Mesajın içeriği.

[\"message to 931520581****\",\"message to 931530581****\",\"message to 931540581****\",\"message to 931550581****\"]

Type

string

No

Mesajın türü. Geçerli değerler:

  • NOTIFY: bildirim

  • MKT: tanıtım mesajı

NOTIFY

TaskId

string

No

Mesajlaşma kampanyasının kimliği. 1 ila 255 karakter uzunluğunda olmalıdır. Bu kimlik, mesajın teslimat makbuzundaki TaskId alanının değeridir.

123789****

ValidityPeriod

integer

No

Mesajın geçerlilik süresi. Birim: saniye.

600

ChannelId

string

No

Teslimat kanalının kimliği.

sms-djnfjn344

Response elements

Element

Type

Description

Example

object

ResponseCode

string

HTTP durum kodu. OK döndürülürse istek başarılı olmuştur. Daha fazla bilgi için bkz. Hata kodları.

OK

RequestId

string

İsteğin kimliği.

F655A8D5-B967-440B-8683-DAD6FF8D28D3

FailedList

string

Mesajları alamayan cep telefonu numaralarının listesi.

["931520581****","931530581****"]

ResponseDescription

string

Durum kodunun açıklaması.

The SMS Send Request was accepted

From

string

Döndürülen gönderici kimliği. API işlemi, istek parametrelerinde belirttiğiniz gönderici kimliğini döndürür.

Alicloud321

MessageIdList

string

Gönderilen mesajların kimlikleri.

["123****","124****"]

SuccessCount

string

Gönderilen mesaj sayısı.

2

Examples

Success response

JSON format

{
  "ResponseCode": "OK",
  "RequestId": "F655A8D5-B967-440B-8683-DAD6FF8D28D3",
  "FailedList": "[\"931520581****\",\"931530581****\"]",
  "ResponseDescription": "The SMS Send Request was accepted",
  "From": "Alicloud321",
  "MessageIdList": "[\"123****\",\"124****\"]",
  "SuccessCount": "2"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.