APIReferenceImages
Import a stock photo
Copies a Pexels photo into the workspace Library at up to 1280 px wide and returns its CDN URL.
Authorization
apiKey AuthorizationBearer <token>
An API key from Settings, Developers: Authorization: Bearer kc_live_...
In: header
Path Parameters
id*integer
Range
0 < valueResponse Body
application/json
application/json
curl -X POST "https://example.com/stock/photos/1/import"{ "id": "string", "url": "string", "name": "string"}Search stock photos GET
Free Pexels photos (commercial use, no attribution needed). An empty query returns a curated selection. Import one with POST /stock/photos/{id}/import before using it on a page.
Settings
Your account on one side, the workspace on the other: profile, security, general, members, brand, domains, integrations, developers, plan and privacy.