Skip to main content
POST
/
phones
/
{phone_id}
/
rotate
Rotate device
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"
}
'

Authorizations

X-API-Key
string
header
required

Path Parameters

phone_id
string
required

Query Parameters

async
boolean
default:false

Body

application/json
orientation
enum<string>
required
Available options:
portrait,
left,
right,
upside_down

Response

200

Successful response