API ReferenceMedia Uploads
Presign a Pinterest media upload
Requires scope: `publish:write`. Returns a presigned URL to PUT media directly to storage, plus the `r2_key`.
Authorization
ApiKey AuthorizationBearer <token>
A personal API key created in the dashboard (Starter, Pro, and Team plans).
In: header
Query Parameters
content_type*string
file_size*integer
File size in bytes.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/pinterest/uploads/presign?content_type=string&file_size=0"{ "upload_url": "string", "r2_key": "string"}Presign a LinkedIn video upload GET
Requires scope: `publish:write`. Returns a presigned URL to PUT a video (max 100 MB, `video/mp4`) directly to storage, plus the `r2_key` to reference afterward.
Presign a TikTok media upload GET
Requires scope: `publish:write`. Returns a presigned URL to PUT media directly to storage, plus the `r2_key`.