KuikCodeDocs
APIReferenceImages

Import a stock photo

POST
/stock/photos/{id}/import

Copies a Pexels photo into the workspace Library at up to 1280 px wide and returns its CDN URL.

AuthorizationBearer <token>

An API key from Settings, Developers: Authorization: Bearer kc_live_...

In: header

Path Parameters

id*integer
Range0 < value

Response Body

application/json

application/json

curl -X POST "https://example.com/stock/photos/1/import"
{  "id": "string",  "url": "string",  "name": "string"}