Skip to main content
POST
Use the secret to check Stophy-Signature on a webhook call: compute the HMAC-SHA256 of “<t>.<body>” and compare it with v1, then reject a call whose t is more than a few minutes old. Send rotate: true to get a new secret; the old one stops signing at once, so deploy the new one first or accept both for a while.

Price

Free. See Pricing.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

maxTextLength
integer

Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.

Required range: x >= 1

Body

application/json
rotate
boolean
default:false

Send true to replace the secret with a new one.

Response

The data, and what this call cost in dollars.

success
any
required
data
object
required
creditsUsed
integer
required
costUsd
number
required

What this call cost, in dollars.

requestId
string
required