openapi: 3.1.0 info: title: Hootsuite Platform Me Media API description: 'REST API for the Hootsuite social media management platform. Provides programmatic access to messages, scheduling, approvals, media uploads, and social profiles connected to a Hootsuite account. Authentication is OAuth 2.0 (authorization-code grant with refresh tokens) and the `member_app` / `organization_app` grant scopes determine whether requests act on behalf of a single member or the organization. ' version: '1.0' contact: name: Hootsuite Developer Portal url: https://developer.hootsuite.com/docs/api servers: - url: https://platform.hootsuite.com/v1 description: Hootsuite Platform API security: - OAuth2: - offline tags: - name: Media paths: /media: post: summary: Create a media upload URL operationId: createMediaUpload responses: '201': description: Created tags: - Media /media/{mediaId}: parameters: - name: mediaId in: path required: true schema: type: string get: summary: Retrieve media upload status operationId: getMedia responses: '200': description: OK tags: - Media components: securitySchemes: OAuth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://platform.hootsuite.com/oauth2/auth tokenUrl: https://platform.hootsuite.com/oauth2/token refreshUrl: https://platform.hootsuite.com/oauth2/token scopes: offline: Issue a refresh token alongside the access token