PHP Script for Evolution Tasks

Job ID: 39971377

Budget: $10 – $30 USD

I have this script in PHP, to evolution api 2.2:
<?php

// Inicialize a requisição cURL
$curl = curl_init();

// Defina os dados da requisição (estrutura do JSON)
$data = [
"number" => "5591999999", // Number whatsapp to send list
"title" => "List Title",
"description" => "List description",
"buttonText" => "Click Here", // Text Button
"footerText" => "footer list\nhttps://google.com",
"sections" => [
[
"title" => "Row title 01",
"rows" => [
[
"title" => "Title row 01",
"description" => "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", // Descrição da linha 1
"rowId" => "rowId 001"
],
[
"title" => "Title row 02",
"description" => "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", // Descrição da linha 2
"rowId" => "rowId 002"
]
]
],
[
"title" => "Row title 02",
"rows" => [
[
"title" => "Title row 01",
"description" => "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", // Descrição da linha 1
"rowId" => "rowId 001"
],
[
"title" => "Title row 02",
"description" => "Lorem Ipsum is simply dummy text of the printing and typesetting industry.", // Descrição da linha 2
"rowId" => "rowId 002"
]
]
]
]
];

// Configurar as opções da requisição cURL
curl_setopt_array($curl, [
CURLOPT_URL => 'http://ip_number_here:8080/message/sendList/instance_name', // Endpoint da API
CURLOPT_RETURNTRANSFER => true, // Retornar a resposta
CURLOPT_ENCODING => '', // Sem codificação
CURLOPT_MAXREDIRS => 10, // Máximo de redirecionamentos
CURLOPT_TIMEOUT => 0, // Sem tempo limite
CURLOPT_FOLLOWLOCATION => true, // Seguir redirecionamentos
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, // Versão HTTP
CURLOPT_CUSTOMREQUEST => 'POST', // Método POST
CURLOPT_POSTFIELDS => json_encode($data), // Enviar os dados JSON
CURLOPT_HTTPHEADER => [ // Cabeçalhos HTTP
'Content-Type: application/json', // Definindo que o conteúdo é JSON
'apikey: token_api_key_here' // Token api key
],
]);

// Executar a requisição cURL
$response = curl_exec($curl);

// Verificar se ocorreu algum erro na requisição
if(curl_errno($curl)) {
echo 'Error:' . curl_error($curl);
} else {
// Exibir o código HTTP da resposta e a resposta do servidor
echo 'HTTP Code: ' . curl_getinfo($curl, CURLINFO_HTTP_CODE) . "\n";
echo 'Response: ' . $response . "\n";
}

// Fechar a sessão cURL
curl_close($curl);
?>

I need a script PHP to this image:
evolution-api:
image: evoapicloud/evolution-api:v2.3.6