For more information on using API

GET http://webapi.mymarketing.co.il/api/smscampaign/OperationalMessage/{id}

Get SMS message by id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Operational SMS id. Can be found in the UI (go to Mobile -> SMS -> SMS list -> filter table by 'Transactional SMS' -> inspect/F12)

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiSmsCampaignInfo

Name

Description

Type

Additional information

id

SMS campaign id

integer
name

Operational campaign name. Internal use only.

string

Required

from_name

From name. Required if "sms_sending_profile_id" is not used. The sender name. The name must be up to 11 English letters without special characters or spaces.

string
sms_sending_profile_id

SMS sending profile ID. Required if "from_name" is not used. Can be found using the endpoint "Get account's sms campaigns.." or in the UI (go to Mobile -> SMS -> SMS list -> inspect/F12)

integer
content

SMS content.

string

Required

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "from_name": "sample string 3",
  "sms_sending_profile_id": 4,
  "content": "sample string 5"
}

application/xml, text/xml

Sample:
<ApiSmsCampaignInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <Name>sample string 2</Name>
  <FromName>sample string 3</FromName>
  <SmsSendingProfileId>4</SmsSendingProfileId>
  <Content>sample string 5</Content>
</ApiSmsCampaignInfo>