Creates a new upload url. Invoking this method returns a url that an image may then be uploaded to. See method Upload for details of uploading an image. The returned upload url expires after approximately ten minutes, after which another call to this method should be made to get another url.




Name Type Mandatory Description
access_token String(32) Yes

A valid access token.

sandbox Boolean No

Whether the method should run in sandbox mode - no writes will be made to the datastore.


Returns an UploadUrl object and HTTP status 200, or an Error object and HTTP status 4xx or 5xx. If the sandbox parameter was set then the returned object will contain dummy data and a boolean attribute named sandbox, which will have the value True. See the section on sandboxing for more details.

Example UsageEdit

$ curl --data access_token=ACCESS_TOKEN

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.