Hello,
Could you please assist me understanding why I am getting a 400 Bad Request response when trying to use createCard using graphql?
Ex:
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://api.pipefy.com/graphql', [
'body' => '{"query":"mutation { createCard( input: { pipe_id: '.$pipe_id.', phase_id: '.$phase_id.', title: "LOREM IPSUM", fields_attributes: [ { field_id: "title", field_value: "LOREM IPSUM1" }, { field_id: "email", field_value: "my-email@email.com" } ] }) { clientMutationId card { id title } } } ',
'headers' => $headers,
]);
Thanks!
Best answer by genietim
View original