drafts

Copy an image from a public https link into 50heads.

The image is fetched on our side (public https hosts only, three redirects at most), checked like an upload and stored. JPEG, PNG or WebP up to 5 MB.

post/v1/uploads/import

Request

  • Base URL: https://api.50heads.com
  • URL: https://api.50heads.com/v1/uploads/import
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.50heads.com/authorize, token URL https://auth.50heads.com/token; client credentials, token URL https://auth.50heads.com/token, scopes: questions:write)

Request body

urlstring uri required

Response

OK

publicUrlstring required
widthinteger nullable required
heightinteger nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.