openapi: 3.1.1 info: title: Publer Users API description: 'The Publer API (v1) is a RESTful JSON interface for automating social media workflows - scheduling, publishing, media management and analytics - across Facebook, Instagram, X/Twitter, LinkedIn, TikTok, YouTube, Pinterest, Threads, Bluesky, Mastodon, Google Business Profiles, WordPress and Telegram. Authentication is an API key sent as `Authorization: Bearer-API YOUR_API_KEY` together with a `Publer-Workspace-Id` header. The API is available exclusively to Publer Business users.' termsOfService: https://publer.com/terms contact: name: Publer Support email: support@publer.com url: https://publer.com/docs version: 1.0.0 servers: - url: https://app.publer.com/api/v1 security: - BearerApiAuth: [] tags: - name: Users description: Endpoints for managing user accounts and authentication paths: /users/me: get: summary: Get Current User description: Retrieves information about the currently authenticated user. tags: - Users responses: '200': description: Successful operation content: application/json: schema: $ref: '#/components/schemas/User' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/401ErrorResponse' '403': description: Permission denied or missing required scope content: application/json: schema: $ref: '#/components/schemas/403ErrorResponse' operationId: getCurrentUser components: schemas: 401ErrorResponse: type: object properties: errors: type: array description: List of error messages items: type: string 403ErrorResponse: type: object properties: errors: type: array description: List of error messages items: type: string User: type: object properties: id: type: string description: Unique identifier for the user email: type: string format: email description: Email address of the user name: type: string description: Full name of the user first_name: type: string description: First name of the user picture: type: string description: URL to the profile picture of the user securitySchemes: BearerApiAuth: type: apiKey name: Authorization in: header description: 'API key authentication. Format: "Bearer-API YOUR_API_KEY"'