> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ocoya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome

> Build social publishing and automation workflows with Ocoya.

# Build Social Workflows With Ocoya

<a className="ocoya-docs-button" href="https://app.ocoya.com/general/settings/api">
  Create API key
</a>

Ocoya is a social media content, scheduling, and automation platform. The REST API lets you manage workspace data, connected social profiles, posts, and workflows from your own backend services.

Ocoya also provides an MCP server so AI clients can work with the same workspace and publishing tools through OAuth-approved access.

## What You Can Build

<AccordionGroup>
  <Accordion title="Content scheduling" icon="calendar-clock">
    Create draft posts, attach media, select connected social profiles, and schedule content from your own app or automation.
  </Accordion>

  <Accordion title="Workspace operations" icon="users">
    List workspaces, resolve workspace IDs, and inspect connected social profiles before creating posts.
  </Accordion>

  <Accordion title="Workflow automation" icon="workflow">
    List workflows, inspect workflow steps, and toggle automations on or off from external systems.
  </Accordion>

  <Accordion title="AI client integrations" icon="plug">
    Connect Claude, Codex, ChatGPT, and other MCP-compatible clients to help create posts and operate workspace workflows.
  </Accordion>
</AccordionGroup>

## REST API Flow

<Steps>
  <Step title="Create an API key">
    Generate an API key from Ocoya settings and keep it server-side.
  </Step>

  <Step title="Resolve workspace context">
    Call `/me` and `/workspaces`, then choose the workspace you want to operate on.
  </Step>

  <Step title="Find social profiles">
    Use `/social-profiles` with a `workspaceId` to find the profile IDs that posts should target.
  </Step>

  <Step title="Create or manage posts">
    Create drafts, schedule posts, list existing posts, update schedules, or delete posts.
  </Step>
</Steps>

## Where To Go Next

<Card title="How to use" icon="compass" href="/get-started">
  Learn the typical REST API setup flow and make your first request.
</Card>

<Card title="Authentication" icon="key" href="/authentication">
  See how API keys are sent and how to keep them safe.
</Card>

<Card title="MCP" icon="plug" href="/mcp/get-started">
  Connect AI tools to Ocoya with the Model Context Protocol.
</Card>

<Card title="API reference" icon="book-open" href="/api-reference/get-me">
  Browse generated endpoint reference pages from the OpenAPI spec.
</Card>
