AJO + Adobe Campaign Classic Action for SMS: Correct JSON Payload Structure? | Community
Skip to main content
Level 1
April 22, 2026
Question

AJO + Adobe Campaign Classic Action for SMS: Correct JSON Payload Structure?

  • April 22, 2026
  • 2 replies
  • 32 views

Hello,

I am looking for guidance on how to correctly configure the JSON payload for the SMS channel when using the Adobe Campaign Classic action in Adobe Journey Optimizer / Journey Orchestration.

Our setup is the following:

  • Adobe Journey triggers an Adobe Campaign Classic action

  • Adobe Campaign Message Center then sends the communication

  • We have already successfully implemented email deliveries with this method

The payload we currently use for email works correctly:

{
"channel": "email",
"eventType": {
"toBeMapped": true,
"dataType": "string",
"label": "eventType"
},
"ctx": {
"firstName": {
"toBeMapped": true,
"dataType": "string",
"label": "firstName"
}
},
"email": {
"toBeMapped": true,
"dataType": "string",
"label": "email"
}
}

We then tried to adapt the payload for SMS using the following structure:

{
"channel": "sms",
"eventType": {
"toBeMapped": true,
"dataType": "string",
"label": "eventType"
},
"mobilePhone": {
"toBeMapped": true,
"dataType": "string",
"label": "mobilePhone"
},
"wishedChannel": {
"toBeMapped": true,
"dataType": "string",
"label": "wishedChannel"
},
"ctx": {
"firstName": {
"toBeMapped": true,
"dataType": "string",
"label": "firstName"
}
}
}

However, this payload returns a 400 error with the message:

Invalid input

Unfortunately, there is no additional detail in the error response.

The SOAP payload we are trying to emulate in the JSON is the standard for message center: 

 

<rtEvent wishedChannel="x" type="xx" mobilePhone="XXXXXXXXX">

    <ctx>

        <firstName>x</firstName>

    </ctx>

</rtEvent>

Our questions are:

  1. What is the correct payload structure for SMS when using the Adobe Campaign Classic action in Journey Orchestration?

  2. Is mobilePhone the correct field name, or should another attribute be used?

  3. Are there any mandatory fields for SMS that are not required for email?

  4. Is there any documentation or example specifically for SMS payloads with ACC actions?

We reviewed this documentation page, but it only provides examples for email and not for SMS:

https://experienceleague.adobe.com/en/docs/journeys/using/action-journeys/acc-action

Any guidance or working example would be appreciated.

2 replies

Level 2
April 22, 2026

Hey ​@DaniMartinezJakala - 
Your payload looks right to me. However if the eventType value is not configured in the enumerations, then that could be one of the problems. Could you verify the following?

  •  Whether the eventType value you’re sending from AJO available in the enumeration of eventType list from ACC Administration panel. If not, then you can add the sms related eventType enumeration and try again.
     
  • And whether you’re passing the correct eventType value in @type attribute of SOAP Event that is present in the above enumeration? If that doesn’t match, then as per below screenshot the content might fail. 
     

  • Edit: I also see @email attribute as required one as highlighted in the above screenshot, therefore you need to pass that one as well in your payload, I guess. You could select the channel you wish to use by using “0” for email and “1” for sms
<rtEvent type="order_confirmation" email="john.doe@domain.com" origin="eCommerce" wishedChannel="0" externalId="1242" mobilePhone="+33620202020">

 

Hope this helps!

Cheers,

Ganesh Kumar

Level 2
April 22, 2026

Hey ​@DaniMartinezJakala - Ignore this message if my other message got published here (I edited it but it vanished while submitted) Your payload seems right to me. However, the problem could be with one of the below ones

  • As per this documentation, it seems like @email attribute is required to be passed. You can select the desired channel using “wishedChannel” by either “0” for email /”1” for SMS.
  • If the above doesn’t work, then define the eventType might not be added in enumeration in ACC administration panel. You can add one if the sms eventType doesn’t exist. 

Hope this helps!

Cheers,

Ganesh Kumar C