{ "opencollection": "1.0.0", "info": { "name": "Shutterstock API Reference audio oauth API", "version": "1.0.30" }, "items": [ { "info": { "name": "oauth", "type": "folder" }, "items": [ { "info": { "name": "Authorize applications", "type": "http" }, "http": { "method": "GET", "url": "https://api.shutterstock.com/v2/oauth/authorize", "params": [ { "name": "client_id", "value": "6d097450b209c6dcd859", "type": "query", "description": "Client ID (Consumer Key) of your application" }, { "name": "realm", "value": "customer", "type": "query", "description": "User type to be authorized (usually 'customer')" }, { "name": "redirect_uri", "value": "localhost", "type": "query", "description": "The callback URI to send the request to after authorization; must use a host name that is registered with your application" }, { "name": "response_type", "value": "code", "type": "query", "description": "Type of temporary authorization code that will be used to generate an access code; the only valid value is 'code'" }, { "name": "scope", "value": "user.view", "type": "query", "description": "Space-separated list of scopes to be authorized" }, { "name": "state", "value": "1540290465000", "type": "query", "description": "Unique value used by the calling app to verify the request" } ] }, "docs": "This endpoint returns a redirect URI (in the 'Location' header) that the customer uses to authorize your application and, together with POST /v2/oauth/access_token, generate an access token that represents that authorization." }, { "info": { "name": "Get access tokens", "type": "http" }, "http": { "method": "POST", "url": "https://api.shutterstock.com/v2/oauth/access_token", "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint returns an access token for the specified user and with the specified scopes. The token does not expire until the user changes their password. The body parameters must be encoded as form data." } ] } ], "bundled": true }