Skip to main content
POST
Web Page Screenshot

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
url
string<url>
required

URL of the web page to capture.

Example:

"https://agent.ai"

ttl_for_screenshot
enum<integer>
default:86400

Cache expiration time for the screenshot in seconds.

Available options:
3600,
86400,
604800,
18144000

Response

Screenshot of the web page

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action