Skip to main content
POST
/
phones
/
{phone_id}
/
rotate
Rotate
curl --request POST \
  --url https://api.example.com/phones/{phone_id}/rotate
Change the device screen orientation.

Request

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"}'

Request Body

{
  "orientation": "left"
}
FieldTypeDescription
orientationstringTarget orientation

Orientations

ValueDescription
portraitNormal upright
leftLandscape, home button left
rightLandscape, home button right
upside_downPortrait upside down