Aidelly AI · Schema

AccountsEnvelope

Artificial IntelligenceSocial MediaAgencyWhite LabelAutomation

Properties

Name Type Description
success object
request_id string
data object
View JSON Schema on GitHub

JSON Schema

aidelly-ai-accounts-envelope-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidelly-ai/json-schema/aidelly-ai-accounts-envelope-schema.json",
  "title": "AccountsEnvelope",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidelly-ai-accounts-api-openapi.yml#/components/schemas/AccountsEnvelope",
  "allOf": [
    {
      "$ref": "#/$defs/EnvelopeBase"
    },
    {
      "type": "object",
      "properties": {
        "success": {
          "const": true
        },
        "data": {
          "type": "object",
          "properties": {
            "accounts": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/PublicAccount"
              }
            },
            "count": {
              "type": "integer"
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "EnvelopeBase": {
      "type": "object",
      "required": [
        "success",
        "request_id"
      ],
      "properties": {
        "success": {
          "type": "boolean"
        },
        "request_id": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "Platform": {
      "type": "string",
      "enum": [
        "facebook",
        "instagram",
        "linkedin",
        "twitter",
        "bluesky",
        "threads",
        "pinterest",
        "youtube",
        "tiktok",
        "google_business",
        "mastodon"
      ],
      "description": "Supported platform identifier. `twitter` and `x` map to the same surface;\nresponses always normalize to `twitter`. `google_business` posts target\na single Google Business Profile location identified by\n`platform_specific.locationName`. `mastodon` accounts are per-instance —\nthe connected account carries its own `instance_url`.\n"
    },
    "PublicAccount": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The account ID to pass as `account_id` when creating a post.\nFor Facebook Pages and Instagram business accounts this is the platform's page/account ID.\nFor LinkedIn companies this is the organization ID.\nFor other platforms (TikTok, Twitter, YouTube) this is the connection UUID.\n"
        },
        "connection_id": {
          "type": "string",
          "format": "uuid",
          "description": "UUID of the parent social connection this account belongs to."
        },
        "platform": {
          "$ref": "#/$defs/Platform"
        },
        "account_type": {
          "type": "string",
          "enum": [
            "personal",
            "page",
            "business",
            "company",
            "organization",
            "location"
          ],
          "description": "- `personal` — personal user account (LinkedIn personal, TikTok, Twitter, YouTube, Bluesky, Threads, Pinterest)\n- `page` — Facebook Page\n- `business` — Instagram Business account\n- `company` — LinkedIn Company page\n- `organization` — Reserved for legacy LinkedIn organizations\n- `location` — Google Business Profile location\n"
        },
        "name": {
          "type": "string",
          "description": "Display name of the account or page."
        },
        "username": {
          "type": [
            "string",
            "null"
          ],
          "description": "Platform username or handle, if available."
        },
        "profile_picture_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Profile picture URL, if available."
        },
        "is_default": {
          "type": "boolean",
          "description": "Whether this is the default account for its platform."
        },
        "can_publish": {
          "type": "boolean",
          "description": "Whether the connection has publish permissions."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/aidelly-ai-accounts-envelope"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.