[SalesForce] Exact Target Triggered Send using REST API

How can we send a transactional email to more than one recipients using FUEL REST Services.
Using the below structure i am able to send mails to a single recipient. Whats the Json structure to send a mail to more than one recipient.

POST https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/dfa5ab87-1b0f-e211-b71b-9c8e9920e9fc/send?access_token=...
Content-Type: application/json
{
"From": {
    "Address": "code@exacttarget.com",
    "Name": "Code@"
},
"To": {
    "Address": "example@example.com",
    "SubscriberKey": "example@example.com",
    "ContactAttributes": {
        "SubscriberAttributes": {
            "Region": "West",
            "City": "Indianapolis",
            "State": "IN"
        }
     }
   }
}

Best Answer

You can do this using the sendBatch method. Let me know if this works for you.

messageDefinitionSends/dfa5ab87-1b0f-e211-b71b-9c8e9920e9fc/sendBatch


[
   {
      "From":{
         "Address":"code@exacttarget.com",
         "Name":"Code@"
      },
      "To":{
         "Address":"example1@example.com",
         "SubscriberKey":"example1@example.com",
         "ContactAttributes":{
            "SubscriberAttributes":{
               "Region":"West",
               "City":"Indianapolis",
               "State":"IN"
            }
         }
      }
   },
   {
      "From":{
         "Address":"code@exacttarget.com",
         "Name":"Code@"
      },
      "To":{
         "Address":"example2@example.com",
         "SubscriberKey":"example2@example.com",
         "ContactAttributes":{
            "SubscriberAttributes":{
               "Region":"East",
               "City":"Columbus",
               "State":"OH"
            }
         }
      }
   }
]