set attributes when initiate workflow using RestAPI

I am calling this endpoint to initiate a workflow
/api/v2/processes
and set the body={"definition":{"workflow_id":30568}}
I want to pass 2 attributes called "Name" and "Email" that I should take this attributes in the start step
how I can do this ?
I tried to set the body as {"definition":{"workflow_id":30568}, "values":{"Name":"example","Email":"example@email.com"} and {"definition":{"workflow_id":30568}, "attributes":{"Name":"example","Email":"example@email.com"}
but does not work

Comments