cURL
curl --request POST \ --url https://api.example.com/phones/{phone_id}/rotate
Rotate device orientation
curl -X POST https://api.tapkit.ai/phones/{phone_id}/rotate \ -H "X-API-Key: TK_your_api_key" \ -H "Content-Type: application/json" \ -d '{"orientation": "left"}'
{ "orientation": "left" }
orientation
string
portrait
left
right
upside_down