Unable to make HTTP Request for the email API

I am trying to use HTTP request activity activity to use the email API. Request is successfully processed when I am using POSTMAN but it fails with status code 400 when I try to use HTTP request.

Screenshot from POSTMAN:

Screenshot from UiPath:

Thanks in advance for the help!

Hi @suraj3501

It looks like you have used single quotes for your JSON file in Studio. Instead, use a standard double quote escaped by another double quote, like so:


If you load this JSON from a file using the Read Text activity, you will simply have to pass the String variable without escaping it like above.