cURL
curl --request POST \ --url https://api.tapkit.ai/phones/{phone_id}/rotate \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "orientation": "portrait" } '
Rotate device orientation
portrait
left
right
upside_down
Successful response