Hello!
I believe that Graphql API mutations in the end are HTTP POST requests, I haven't tested the code, but you can do something like:
$client = new Client([
'headers' => [ 'Content-Type' => 'application/json' ]
]); // GuzzleHttp
$data = [
'input' => [
'meetingName' => 'API Video Conference Test',
'scheduledDateTime' => 'Fri Apr 24 2020 13:45:00 -0500',
'scheduledTimeZone' => 'EDT/UTC-05:00',
'enableTwillion' => 1
]
];
$response = $client->post($url, [
'body' => "mutation { createMeeting(" . json_encode($data) . ") { message result status } } "
]);
$json = json_decode($response->getBody()->getContents());
Reference: https://www.apollographql.com/blog/4-simple-ways-to-call-a-graphql-api-a6807bcdb355