Pular para o conteúdo principal
POST

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

Corpo

application/json
http_request
object
obrigatório

A URL is required unless connection_id is given.

Resposta

Test result, sent or not.

Result of a test request. On success it holds the HTTP status, a safe subset of the response headers and the body (truncated to 20,000 characters). When the request could not be sent it holds ok: false, an error code (blocked, timeout, too_large, invalid_url, request_failed, connection) and a message. Request headers and connection credentials are never echoed.

ok
boolean
obrigatório

True when the response status is 2xx.

Exemplo:

true

method
string
Exemplo:

"GET"

url
string

Final URL that was requested, without credentials.

Exemplo:

"https://api.example.com/v1/orders?email=jane%40example.com"

status
integer
Exemplo:

200

headers
object
Exemplo:
body
any

Parsed JSON body, or text.

Exemplo:
truncated
boolean
Exemplo:

false

error
string

Error code when the request could not be sent.

Exemplo:

"timeout"

message
string

Error message when the request could not be sent.