Sessions
Create a session
Allocate an Android phone asynchronously. HTTP 202 means admitted, not ready. Poll the returned id. The deadline includes provisioning. Use one stable Idempotency-Key per logical Start. Pass your account's profile_id (from GET /me) to use your own phone, which is saved when the session ends and comes back the same way next time; omit it for a temporary phone that keeps nothing. Raw capabilities and runtime resource overrides are not supported. Omit provider to use the service default.
post/sessions
Request
- Base URLhttps://api.phone-harness.com
- AuthHTTP bearer
Headers
Idempotency-Keystring
Same key plus same parsed JSON body reuses the session. Optional but recommended.
Request body
Response
Admitted or replayed session.
Changes
No recorded changes to this operation across all 1 revision of this API.