Skip to main content
POST
Upload an image to WordPress media library from a URL.

Authorizations

X-Service-Token
string
header
required

Body

application/json
image_url
string
required
title
string | null
alt_text
string | null
caption
string | null

Response

Tool result. The shape is tool-specific; most tools return a JSON object, some a {"result": ...} envelope.

The response is of type object.