Postiz Integrations API

Connected social media channels and scheduling slots.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 34

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /integrations List integrations (no auth) · No auth integrations controller get integrations #
Ask an LLM
“Which integrations are connected to my account without an auth token?”
“Can I see all integrations from the public endpoint?”
Tell an agent
List integrations using the no-auth endpoint.
Show every integration available through the public integrations list.
DELETE /integrations Disconnect a channel integration · Integrations controller delete channel #
Ask an LLM
“How do I disconnect a channel integration?”
“What happens to a channel's scheduled posts when I disconnect it?”
Tell an agent destructive · confirm first
Disconnect the channel integration.
Remove this channel integration.
POST /integrations/social-connect/{integration} Connect a social media account · No auth integrations controller connect social media #
Ask an LLM
“How do I connect a social media account to my Postiz account?”
“Can I link a Facebook or Instagram profile through the public endpoint?”
Tell an agent
Connect my social media account {integration} through the public social connect endpoint.
Link the {integration} social media account using the no-auth connection.
POST /integrations/public/provider/{id}/connect Connect a provider page (public) · No auth integrations controller save provider page #
Ask an LLM
“How do I connect a provider page from the public endpoint?”
“Can I save a provider page link without logging in?”
Tell an agent
Save provider page {id} through the public provider connect endpoint.
Connect the provider page {id} using the no-auth public endpoint.
POST /integrations/extension-refresh Refresh cookies for the browser extension · No auth integrations controller extension refresh cookies #
Ask an LLM
“How does the browser extension refresh its cookies?”
“Can I force a cookie refresh for the extension?”
Tell an agent
Refresh cookies for the browser extension.
Tell the extension to refresh its saved cookies.
POST /integrations/provider/{id}/connect Connect a provider page · Integrations controller save provider page #
Ask an LLM
“How do I connect a provider page to my account?”
“Can I save a provider page link through the regular endpoint?”
Tell an agent
Save provider page {id} through the regular provider connect endpoint.
Connect the provider page {id} to my account.
GET /integrations/{identifier}/internal-plugs List internal plugs for an integration · Integrations controller get internal plugs #
Ask an LLM
“What internal plugs are available for an integration?”
“Can I see the internal plug IDs for a given integration?”
Tell an agent
List internal plugs for integration {identifier}.
Show the internal plug IDs of {identifier}.
GET /integrations/customers List customers with integrations · Integrations controller get customers #
Ask an LLM
“Which customers have integrations set up?”
“Can I get a list of customers that use integrations?”
Tell an agent
List customers with integrations.
Show every customer that has integrations configured.
PUT /integrations/{id}/group Move an integration to another group · Integrations controller update integration group #
Ask an LLM
“How do I move an integration into a different group?”
“Can I change which integration group an integration belongs to?”
Tell an agent
Move integration {id} into another group.
Update the group of integration {id}.
PUT /integrations/{id}/customer-name Rename an integration on a customer · Integrations controller update on customer name #
Ask an LLM
“Can I change how an integration appears on a customer's account?”
“How do I rename an integration for a specific customer?”
Tell an agent
Rename integration {id} on the customer's account.
Update the customer-facing name of integration {id}.
GET /integrations/list List integrations · Integrations controller get integration list #
Ask an LLM
“What integrations are connected to my account?”
“Can I get a full list of my integrations?”
Tell an agent
List all my integrations.
Show every integration connected to my account.
POST /integrations/{id}/settings Update provider settings for an integration · Integrations controller update provider settings #
Ask an LLM
“How do I change the settings of a connected provider?”
“Can I update the provider settings for an integration?”
Tell an agent
Update the provider settings of integration {id}.
Change the provider settings for integration {id}.
POST /integrations/{id}/nickname Set a nickname for an integration · Integrations controller set nickname #
Ask an LLM
“Can I give an integration a nickname?”
“How do I rename an integration for my own use?”
Tell an agent
Set a nickname on integration {id}.
Rename integration {id} with my own nickname.
GET /integrations/{id} Get one integration · Integrations controller get single integration #
Ask an LLM
“What are the details of a single integration?”
“Can I fetch one integration by ID?”
Tell an agent
Get integration {id} ordered {order}.
Show the details of integration {id} with order {order}.
DELETE /integrations/{id} Delete a connected channel integration · Delete a channel #
Ask an LLM
“Can I delete a channel integration by its integration ID?”
“Will scheduled posts on a channel be deleted when I remove the channel?”
Tell an agent destructive · confirm first
Delete the channel integration {id}.
Remove connected channel integration {id}.
GET /integrations/social/{integration} Get a social integration URL · Integrations controller get integration url #
Ask an LLM
“How do I get the URL to connect a social media account?”
“Can I get a refreshable social integration URL?”
Tell an agent
Get the social integration URL for {integration} with refresh {refresh}, external URL {externalUrl}, redirect URL {redirectUrl} and onboarding {onboarding}.
Build a social connect URL for {integration} using {externalUrl} and redirect {redirectUrl}, refresh {refresh}, onboarding {onboarding}.
POST /integrations/{id}/time Set the time for an integration · Integrations controller set time #
Ask an LLM
“How do I set the time for an integration?”
“Can I change when an integration runs?”
Tell an agent
Set the time for integration {id}.
Update the schedule time of integration {id}.
POST /integrations/mentions Handle mentions for integrations · Integrations controller mentions #
Ask an LLM
“How do I handle mentions through the integrations mentions endpoint?”
“Can I process mentions for integrations?”
Tell an agent
Handle mentions for integrations.
Process integration mentions.
POST /integrations/function Call a function integration · Integrations controller function integration #
Ask an LLM
“How do I call a function integration?”
“Can I trigger a function integration?”
Tell an agent
Call the function integration.
Trigger a function integration.
POST /integrations/disable Disable a connected channel · Integrations controller disable channel #
Ask an LLM
“How do I disable a connected channel?”
“Can I turn off a channel without deleting it?”
Tell an agent
Disable the connected channel.
Turn off the connected channel without deleting it.
POST /integrations/enable Enable a channel integration · Integrations controller enable channel #
Ask an LLM
“How do I turn on a new channel integration?”
“Can I enable a channel through the API?”
Tell an agent
Enable a channel integration.
Turn on a new channel for my account.
GET /integrations/plug/list List available channel plugs · Integrations controller get plug list #
Ask an LLM
“Which channel plugs are available to connect?”
“What plug options exist for a channel?”
Tell an agent
List all available channel plugs.
Show the plug options for a channel.
GET /integrations/{id}/plugs List plugs for an integration · Integrations controller get plugs by integration id #
Ask an LLM
“Which plugs are connected to a channel?”
“Can I see the plugs on an integration?”
Tell an agent
List the plugs on integration {id}.
Show which plugs are connected to channel {id}.
POST /integrations/{id}/plugs Add a plug to an integration · Integrations controller post plugs by integration id #
Ask an LLM
“How do I add a new plug to a channel?”
“Can I connect another plug to an integration?”
Tell an agent
Add a plug to integration {id}.
Connect a new plug to channel {id}.
PUT /integrations/plugs/{id}/activate Activate or deactivate a plug · Integrations controller change plug activation #
Ask an LLM
“How do I turn a plug on or off?”
“Can I deactivate a plug on a channel?”
Tell an agent
Activate plug {id}.
Deactivate plug {id} on my channel.
GET /integrations/telegram/updates Get Telegram updates · Integrations controller get updates #
Ask an LLM
“How do I fetch Telegram updates for my bot?”
“Can I read Telegram messages through the API?”
Tell an agent
Get Telegram updates for my bot.
Fetch incoming Telegram messages.
POST /integrations/moltbook/register Register a Moltbook account · Integrations controller moltbook register #
Ask an LLM
“How do I register a Moltbook account?”
“Can I connect Moltbook through the API?”
Tell an agent
Register a Moltbook account.
Connect my Moltbook account.
GET /integrations/moltbook/status Check Moltbook connection status · Integrations controller moltbook status #
Ask an LLM
“Is my Moltbook account connected?”
“Can I check Moltbook status with my API key?”
Tell an agent
Check Moltbook status with API key {apiKey}.
Verify my Moltbook connection.
GET /groups List customers (groups) · List all groups (customers) #
Ask an LLM
“Who are the customers in my organization?”
“Can I list all customer groups?”
Tell an agent
List all customers in my organization.
Show every customer group.
GET /social/{integration} Get an OAuth URL for a channel · Get OAuth URL for a channel #
Ask an LLM
“How do I get an OAuth link to connect a social channel?”
“Can I refresh an existing channel connection?”
Tell an agent
Get an OAuth URL for channel {integration}.
Refresh the connection to channel {integration} with refresh {refresh}.
GET /integration-settings/{id} Get a channel's posting rules and tools · Get integration settings and tools #
Ask an LLM
“What posting rules and tools does a connected channel support?”
“How do I discover what a channel can do?”
Tell an agent
Get the settings and tools for integration {id}.
Show posting rules for channel {id}.
POST /integration-trigger/{id} Run a provider tool on a channel · Trigger an integration tool #
Ask an LLM
“How do I search Instagram audio for Reels on a channel?”
“Can I list Discord channels through a trigger?”
Tell an agent
Run tool {methodName} on integration {id}.
Execute {methodName} on channel {id} with {data}.
GET /is-connected Check API connection status · Check connection status #
Ask an LLM
“Is my API key valid and connected?”
“Can I verify my connection before posting?”
Tell an agent
Check my API connection status.
Verify that my API key is connected.
GET /find-slot/{id} Find the next available posting slot · Find next available slot #
Ask an LLM
“When is the next available time to post to a channel?”
“Can I find the earliest slot for a channel?”
Tell an agent
Find the next available slot for integration {id}.
Get the earliest posting slot on channel {id}.

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/postiz:postiz-integrations-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

postiz-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postiz Integrations API
  version: '1.0'
  description: 'Operations tagged Integrations across 2 of this provider''s published API definitions: postiz-platform-swagger-openapi.json, postiz-public-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.postiz.com/public/v1
  description: Postiz Cloud
- url: https://{your-domain}/api/public/v1
  description: Self-hosted
  variables:
    your-domain:
      default: localhost:5000
      description: Your Postiz instance domain
tags:
- name: Integrations
paths:
  /integrations:
    get:
      operationId: NoAuthIntegrationsController_getIntegrations
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: No auth integrations controller get integrations
      x-summary-source: derived
    delete:
      operationId: IntegrationsController_deleteChannel
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller delete channel
      x-summary-source: derived
  /integrations/social-connect/{integration}:
    post:
      operationId: NoAuthIntegrationsController_connectSocialMedia
      parameters:
      - name: integration
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectIntegrationDto'
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: No auth integrations controller connect social media
      x-summary-source: derived
  /integrations/public/provider/{id}/connect:
    post:
      operationId: NoAuthIntegrationsController_saveProviderPage
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: No auth integrations controller save provider page
      x-summary-source: derived
  /integrations/extension-refresh:
    post:
      operationId: NoAuthIntegrationsController_extensionRefreshCookies
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: No auth integrations controller extension refresh cookies
      x-summary-source: derived
  /integrations/provider/{id}/connect:
    post:
      operationId: IntegrationsController_saveProviderPage
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller save provider page
      x-summary-source: derived
  /integrations/{identifier}/internal-plugs:
    get:
      operationId: IntegrationsController_getInternalPlugs
      parameters:
      - name: identifier
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get internal plugs
      x-summary-source: derived
  /integrations/customers:
    get:
      operationId: IntegrationsController_getCustomers
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get customers
      x-summary-source: derived
  /integrations/{id}/group:
    put:
      operationId: IntegrationsController_updateIntegrationGroup
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller update integration group
      x-summary-source: derived
  /integrations/{id}/customer-name:
    put:
      operationId: IntegrationsController_updateOnCustomerName
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller update on customer name
      x-summary-source: derived
  /integrations/list:
    get:
      operationId: IntegrationsController_getIntegrationList
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get integration list
      x-summary-source: derived
  /integrations/{id}/settings:
    post:
      operationId: IntegrationsController_updateProviderSettings
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller update provider settings
      x-summary-source: derived
  /integrations/{id}/nickname:
    post:
      operationId: IntegrationsController_setNickname
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller set nickname
      x-summary-source: derived
  /integrations/{id}:
    get:
      operationId: IntegrationsController_getSingleIntegration
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: order
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get single integration
      x-summary-source: derived
    delete:
      tags:
      - Integrations
      summary: Delete a channel
      description: Delete a connected channel by its integration ID. Any scheduled posts associated with this channel will also be deleted.
      operationId: deleteChannel
      parameters:
      - name: id
        in: path
        required: true
        description: Integration ID of the channel to delete
        schema:
          type: string
      responses:
        '200':
          description: Channel deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
              example:
                id: cm4ean69r0003w8w1cdomox9n
        '404':
          description: Channel not found
  /integrations/social/{integration}:
    get:
      operationId: IntegrationsController_getIntegrationUrl
      parameters:
      - name: integration
        required: true
        in: path
        schema:
          type: string
      - name: refresh
        required: true
        in: query
        schema:
          type: string
      - name: externalUrl
        required: true
        in: query
        schema:
          type: string
      - name: redirectUrl
        required: true
        in: query
        schema:
          type: string
      - name: onboarding
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get integration url
      x-summary-source: derived
  /integrations/{id}/time:
    post:
      operationId: IntegrationsController_setTime
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationTimeDto'
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller set time
      x-summary-source: derived
  /integrations/mentions:
    post:
      operationId: IntegrationsController_mentions
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationFunctionDto'
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller mentions
      x-summary-source: derived
  /integrations/function:
    post:
      operationId: IntegrationsController_functionIntegration
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationFunctionDto'
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller function integration
      x-summary-source: derived
  /integrations/disable:
    post:
      operationId: IntegrationsController_disableChannel
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller disable channel
      x-summary-source: derived
  /integrations/enable:
    post:
      operationId: IntegrationsController_enableChannel
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller enable channel
      x-summary-source: derived
  /integrations/plug/list:
    get:
      operationId: IntegrationsController_getPlugList
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get plug list
      x-summary-source: derived
  /integrations/{id}/plugs:
    get:
      operationId: IntegrationsController_getPlugsByIntegrationId
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get plugs by integration id
      x-summary-source: derived
    post:
      operationId: IntegrationsController_postPlugsByIntegrationId
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlugDto'
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller post plugs by integration id
      x-summary-source: derived
  /integrations/plugs/{id}/activate:
    put:
      operationId: IntegrationsController_changePlugActivation
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller change plug activation
      x-summary-source: derived
  /integrations/telegram/updates:
    get:
      operationId: IntegrationsController_getUpdates
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller get updates
      x-summary-source: derived
  /integrations/moltbook/register:
    post:
      operationId: IntegrationsController_moltbookRegister
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller moltbook register
      x-summary-source: derived
  /integrations/moltbook/status:
    get:
      operationId: IntegrationsController_moltbookStatus
      parameters:
      - name: apiKey
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Integrations
      summary: Integrations controller moltbook status
      x-summary-source: derived
  /groups:
    get:
      tags:
      - Integrations
      summary: List all groups (customers)
      description: Returns all customers (groups) for your organization. Use a group ID to filter the integrations list.
      operationId: listGroups
      responses:
        '200':
          description: List of groups
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Group'
              example:
              - id: customer-id
                name: My Company
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
  /social/{integration}:
    get:
      tags:
      - Integrations
      summary: Get OAuth URL for a channel
      description: Generate an OAuth authorization URL for a given integration. Use this to connect a new social media channel. Only OAuth-based integrations are supported (integrations that require an external URL, such as Mastodon, are not available via this endpoint).
      operationId: getIntegrationUrl
      parameters:
      - name: integration
        in: path
        required: true
        description: The integration identifier (e.g. x, linkedin, facebook, instagram, youtube, tiktok, reddit, etc.)
        schema:
          type: string
      - name: refresh
        in: query
        required: false
        description: Pass an existing integration ID to refresh its OAuth token instead of creating a new connection
        schema:
          type: string
      responses:
        '200':
          description: OAuth authorization URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    description: The OAuth authorization URL to redirect the user to
              example:
                url: https://twitter.com/i/oauth2/authorize?response_type=code&client_id=...
        '400':
          description: Integration not allowed or requires an external URL
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
  /integration-settings/{id}:
    get:
      tags:
      - Integrations
      summary: Get integration settings and tools
      description: Returns the posting rules, maximum content length, settings schema, and available provider tools for a connected channel. Use this to discover which tools can be executed with the trigger endpoint.
      operationId: getIntegrationSettings
      parameters:
      - name: id
        in: path
        required: true
        description: The integration ID
        schema:
          type: string
      responses:
        '200':
          description: Settings and tools for the integration
          content:
            application/json:
              schema:
                type: object
                properties:
                  output:
                    type: object
                    properties:
                      rules:
                        type: string
                        description: Platform-specific posting rules
                      maxLength:
                        type: number
                        description: Maximum content length
                      settings:
                        description: JSON schema of the provider settings, or a string when no settings are required
                      tools:
                        type: array
                        description: Provider tools that can be executed via the trigger endpoint
                        items:
                          type: object
                          properties:
                            methodName:
                              type: string
                            description:
                              type: string
                            dataSchema:
                              type: array
                              items:
                                type: object
              example:
                output:
                  rules: Instagram should have at least one attachment, if it's a story, it can have only one picture
                  maxLength: 2200
                  settings:
                    type: object
                  tools:
                  - methodName: audioSearch
                    description: Search audio (music or original sounds) to attach to a Reel via the "audio" setting, an empty query returns trending audio
                    dataSchema:
                    - key: q
                      type: string
                      description: Search query, leave empty for trending audio
                    - key: type
                      type: string
                      description: Either "music" or "original_sound", defaults to "music"
        '404':
          description: Integration not found
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
  /integration-trigger/{id}:
    post:
      tags:
      - Integrations
      summary: Trigger an integration tool
      description: Executes a provider-specific tool on a connected channel, for example searching Instagram audio for Reels, listing Discord channels, or fetching Reddit flairs. Discover available tools with the integration settings endpoint.
      operationId: triggerIntegrationTool
      parameters:
      - name: id
        in: path
        required: true
        description: The integration ID
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - methodName
              properties:
                methodName:
                  type: string
                  description: The tool method name, as returned by the integration settings endpoint
                data:
                  type: object
                  description: Key-value parameters for the tool
                  additionalProperties:
                    type: string
            example:
              methodName: audioSearch
              data:
                q: summer vibes
                type: music
      responses:
        '200':
          description: Tool executed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  output:
                    description: The tool result, shape depends on the tool
              example:
                output:
                - id: '587784541076604'
                  title: Summer Vibes
                  artist: Some Artist
                  image: https://scontent.cdninstagram.com/cover.jpg
                  duration: 30000
                  previewUrl: https://scontent.cdninstagram.com/preview.mp4
        '401':
          description: Channel disconnected due to expired token
        '404':
          description: Integration or tool not found
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
  /is-connected:
    get:
      tags:
      - Integrations
      summary: Check connection status
      description: Verify if your API key is valid and connected.
      operationId: isConnected
      responses:
        '200':
          description: Connection status
          content:
            application/json:
              schema:
                type: object
                properties:
                  connected:
                    type: boolean
              example:
                connected: true
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
  /find-slot/{id}:
    get:
      tags:
      - Integrations
      summary: Find next available slot
      description: Get the next available time slot for posting to a specific channel.
      operationId: findSlot
      parameters:
      - name: id
        in: path
        required: true
        description: Integration ID
        schema:
          type: string
      responses:
        '200':
          description: Next available slot
          content:
            application/json:
              schema:
                type: object
                properties:
                  date:
                    type: string
                    format: date-time
              example:
                date: '2025-01-15T10:00:00.000Z'
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
components:
  schemas:
    IntegrationFunctionDto:
      type: object
      properties: {}
    IntegrationTimeDto:
      type: object
      properties: {}
    PlugDto:
      type: object
      properties: {}
    ConnectIntegrationDto:
      type: object
      properties: {}
    Group:
      type: object
      properties:
        id:
          type: string
          description: Unique group (customer) ID
        name:
          type: string
          description: Group (customer) display name
    Integration:
      type: object
      properties:
        id:
          type: string
          description: Unique integration ID
        name:
          type: string
          description: Display name of the account
        identifier:
          type: string
          description: Provider identifier (27 platforms supported)
          enum:
          - x
          - linkedin
          - linkedin-page
          - facebook
          - instagram
          - instagram-standalone
          - threads
          - bluesky
          - mastodon
          - warpcast
          - nostr
          - vk
          - youtube
          - tiktok
          - reddit
          - lemmy
          - discord
          - slack
          - telegram
          - kick
          - twitch
          - pinterest
          - dribbble
          - medium
          - devto
          - hashnode
          - wordpress
          - gmb
          - listmonk
          - moltbook
          - skool
          - whop
        picture:
          type: string
          description: Profile picture URL
        disabled:
          type: boolean
          description: Whether the integration is disabled
        profile:
          type: string
          description: Profile handle/username
        customer:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Your Postiz API key
x-refined-from:
- postiz-platform-swagger-openapi.json
- postiz-public-api-openapi.json