PostNext Account API

Identity and account state

GitHub OpenAPI

Operations 1

GET /api/v1/account Get the authenticated account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/postnext-io:postnext-io-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

postnext-io-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostNext Public Account API
  version: 1.0.0
  description: 'The PostNext public API lets you connect social channels, create, schedule

    and publish posts, manage media, and read analytics programmatically.


    ## Authentication

    Every request must include your API key in the `x-api-key` header. Each

    account has one key: copy it or regenerate it at

    https://postnext.io/account/api-keys. Regenerating it stops the old key

    working straight away.


    ```bash

    curl -H "x-api-key: YOUR_KEY" https://api-app.postnext.io/api/v1/account

    ```


    ## Response shapes

    Responses are JSON. Most endpoints wrap data in `{ "success": true, "data": ... }`,

    but a few return the payload at the top level for historical reasons; each

    operation below documents its exact shape. Errors are generally

    `{ "success": false, "error": { "message": "..." } }`, with a few endpoints

    adding a machine-readable `code` (noted per operation).


    ## Base URL

    All paths are relative to `https://api-app.postnext.io`. Note the mixed

    prefix: the posts, connections and assets resources are served under `/api`,

    while account and analytics are served under `/api/v1`.'
servers:
- url: https://api-app.postnext.io
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Account
  description: Identity and account state
paths:
  /api/v1/account:
    get:
      tags:
      - Account
      summary: Get the authenticated account
      description: 'Returns identity and onboarding state for the account that owns the API

        key. This endpoint returns a flat object (it is NOT wrapped in the

        `success`/`data` envelope).'
      operationId: getAccount
      responses:
        '200':
          description: Account details (flat object)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '400':
          description: Account not found or not verified
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Account not found or not verified
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            message:
              type: string
        code:
          type: string
          description: Present on some endpoints only.
    Account:
      type: object
      properties:
        name:
          type: string
        email:
          type: string
          format: email
        user:
          type: string
        uniqueId:
          type: string
        onboardingCompleted:
          type: boolean
        onboardingRole:
          type:
          - string
          - 'null'
        onboardingSteps:
          type: object
          properties:
            role:
              type: boolean
            connect:
              type: boolean
            plan:
              type: boolean
        requiresOnboarding:
          type: boolean
        locale:
          type: string
          example: en-gb
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key