curl -X POST https://api.img-src.io/api/v1/images/img_abc123/signed-url \ -H "Authorization: Bearer imgsrc_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"expires_in": 3600}'
{ "signed_url": "https://img-src.io/i/username/photo.jpg?sig=abc123&exp=1704070800", "expires_at": 1704070800 }
Create a signed URL for private image access (Pro only)
expires_in
transform
curl -X POST https://api.img-src.io/api/v1/images/img_abc123/signed-url \ -H "Authorization: Bearer imgsrc_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "expires_in": 3600, "transform": { "w": 800, "h": 600, "fit": "cover" } }'