Wait
import requests

url = 'https://api.simplex.sh/wait'
headers = {
    'X-API-Key': 'your_api_key_here'
}
data = {
    'milliseconds': 2000,  # Wait for 2 seconds
    'session_id': 'your_session_id'  # Optional
}

response = requests.post(url, headers=headers, data=data)
print(response.json())
{
  "succeeded": true,
  "error": "<string>"
}
Waits for a specified number of milliseconds.

Authorizations

X-API-Key
string
header
required

Simplex API Key

Body

multipart/form-data

Response

Wait response

The response is of type object.