Hello I need to add other "cc" recipients using the sendgrid v3 API in PHP. How do I do it?
In the documentation they put the following code, but I find it insufficient, because I need to see how to add "CC" recipients.
$request_body = json_decode('{
"personalizations": [
{
"to": [
{
"email": "test@example.com"
}
],
"subject": "Hello World from the SendGrid PHP Library!"
}
],
"from": {
"email": "test@example.com"
},
"content": [
{
"type": "text/plain",
"value": "Hello, Email!"
}
]
}'
);