ParrotPosterParrotPoster
API
  • WordPress plugin
Site
  • English
  • Русский
API
  • WordPress plugin
Site
  • English
  • Русский
  • Introduction
  • Quick start
  • API methods

    • Authentication
    • Social accounts
    • Posts

      • Main use cases
      • Post object shape
      • Get post
      • Create post
      • Update post
      • Delete post

Social accounts

You may need account data when creating posts. Accounts themselves must be connected beforehand in the ParrotPoster web app.

Listing accounts: listSocialAccounts

The listSocialAccounts query returns all connected social accounts.

Request:

query {
  listSocialAccounts {
    id
    name
    type
    link
    photo
  }
}

Response fields:

FieldTypeDescription
idStringUnique account ID. Use this value in create post in networks.accounts
nameStringDisplay name (e.g. group or page title)
typeStringAccount type (e.g. VK, FB, TG, OK, etc.)
linkStringURL of the account in the social network
photoStringURL of the account image

Example response:

{
  "data": {
    "listSocialAccounts": [
      {
        "id": "account_id_1",
        "name": "My VK community",
        "type": "VK",
        "link": "https://vk.com/my_group",
        "photo": "https://..."
      },
      {
        "id": "account_id_2",
        "name": "My Telegram channel",
        "type": "TG",
        "link": "https://t.me/my_channel",
        "photo": null
      }
    ]
  }
}
Edit on GitHub
Last updated: 4/24/26, 6:09 PM
Prev
Authentication