# Send custom e-mail with special properties from external CRM over REST API

**URL:** <https://forum.mautic.org/t/send-custom-e-mail-with-special-properties-from-external-crm-over-rest-api/7665>\
**Category:** Product Support\
**Created:** [February 24, 2017, 8:37am UTC](https://forum.mautic.org/t/send-custom-e-mail-with-special-properties-from-external-crm-over-rest-api/7665 "2017-02-24T08:37:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleinpeter](https://avatars.discourse-cdn.com/v4/letter/k/ac91a4/32.png) [@kleinpeter](https://forum.mautic.org/u/kleinpeter)\
**Post date:** [February 24, 2017, 8:37am UTC](https://forum.mautic.org/t/send-custom-e-mail-with-special-properties-from-external-crm-over-rest-api/7665/1 "2017-02-24T08:37:25Z")

</div>

Is there a way to send e-mail over Mautic REST API with own properties sended in single-request send request? Example: I want to send process e-mail with order summary to client. So I want to prepare e-mail template with ex. {special:orderId}, {special:orderPrice},… and want to do something like this

Code:

$api-\>send(emailId, contactId, [special =\> [ 'orderId' =\> 123, 'orderPrice' =\> 1000] ]);

Something extra - Client has some our e-shop categories in his favourites and I want to send basic newsletter with "new in your favourite category"... and just select created e-mail template and send with parameters  

Code:

$parameters = [1 =\> [ 'name' =\> 'Product name', 'price' =\> 123, 'imgPath' =\> 'http://pathToImage' ...], ... ]

Is there some way how to do this? I am beginner in Mautic but i thought it is designed for these specials but don't know how to do that...  
  
Thank you very much for responds. Mautic v. 2.4

---

<div class="post-metadata">

**Author:** ![kleinpeter](https://avatars.discourse-cdn.com/v4/letter/k/ac91a4/32.png) [@kleinpeter](https://forum.mautic.org/u/kleinpeter)\
**Post date:** [February 24, 2017, 8:37am UTC](https://forum.mautic.org/t/send-custom-e-mail-with-special-properties-from-external-crm-over-rest-api/7665/2 "2017-02-24T08:37:25Z")

</div>

Is there a way to send e-mail over Mautic REST API with own properties sended in single-request send request? Example: I want to send process e-mail with order summary to client. So I want to prepare e-mail template with ex. {special:orderId}, {special:orderPrice},… and want to do something like this

`$api->send(emailId, contactId, [
    special => [
        'orderId' => 123,
        'orderPrice' => 1000
    ]
]);`  
Something extra - Client has some our e-shop categories in his favourites and I want to send basic newsletter with “new in your favourite category”… and just select created e-mail template and send with parameters

`$parameters = [
    1 => [
        'name' => 'Product name',
        'price' => 123,
        'imgPath' => 'http://pathToImage'
        ...
    ],
    ...
]`  
Is there some way how to do this? I am beginner in Mautic but i thought it is designed for these specials but don’t know how to do that…

Thank you very much for responds. Mautic v. 2.4
