---
title: "Integrations - OK.ru"
url: "https://docs.unified.to/integrations/okru"
description: "Build OK.ru integrations faster with our Unified API — Social Media data, OAuth2, real-time sync."
date: "2026-11-25T19:28:25.558Z"
updated: "2026-11-25T19:28:25.558Z"
---

# OK.ru integration

> What this integration supports through the Unified.to API, by object. Live data: `GET https://api.unified.to/unified/integration?type=okru` with your workspace API key (or Core MCP `list_unified_integrations` with `type: "okru"`). All integrations: https://docs.unified.to/integrations.md

## Overview

- **Type:** `okru`
- **Categories:** [Social Media](https://docs.unified.to/social/overview.md), [Passthrough](https://docs.unified.to/passthrough/overview.md)
- **Website:** https://ok.ru
- **Vendor API docs:** https://apiok.ru/en/dev/methods/
- **Launched:** 2026-11-25

## How end users connect

- **OAuth2** authorization flow. Register your own OAuth2 app with the vendor and add its credentials to the integration.

## OAuth2 scopes

Pass Unified scopes in `scopes=` on the authorization URL; each one requests these vendor scopes. Request only what you need.

| Unified scope | Vendor scopes |
| --- | --- |
| `social_post_read` | `VALUABLE_ACCESS;LONG_ACCESS_TOKEN;GROUP_CONTENT` |
| `social_post_write` | `VALUABLE_ACCESS;LONG_ACCESS_TOKEN;GROUP_CONTENT` |
| `social_profile_read` | `VALUABLE_ACCESS;LONG_ACCESS_TOKEN;GROUP_CONTENT` |

## MCP tools

The Unified MCP server (https://docs.unified.to/mcp/core.md) gives an AI agent these tools for a OK.ru connection. Preview the catalog, with input schemas, without an API key: `https://mcp-api.unified.to/mcp?integration_type=okru` (or `GET https://api.unified.to/tools?integration_type=okru`).

| Tool | Object | Method |
| --- | --- | --- |
| `list_social_posts` | [social_post](#social_post) | list |
| `get_social_post` | [social_post](#social_post) | get |
| `create_social_post` | [social_post](#social_post) | create |
| `update_social_post` | [social_post](#social_post) | update |
| `remove_social_post` | [social_post](#social_post) | remove |
| `list_social_profiles` | [social_profile](#social_profile) | list |
| `get_social_profile` | [social_profile](#social_profile) | get |

## Supported objects

| Object | Methods | Webhooks |
| --- | --- | --- |
| [passthrough](#passthrough) | none | none |
| [social_post](#social_post) | list, get, create, update, remove | none |
| [social_profile](#social_profile) | list, get | none |

Values below come from the integration's support data. "Required list filters" must be sent on list calls; "Required on create" fields must be sent when creating. Webhook events are `native` (pushed by the vendor) or `virtual` (polled by Unified.to). Anything not listed is not supported; an unsupported method returns `501`.

### passthrough

- **Methods:** none
- **Webhooks:** none
- **Readable fields:** none
- **Writable fields:** none

### social_post

- **Methods:** `list`, `get`, `create`, `update`, `remove`
- **MCP tools:** `list_social_posts`, `get_social_post`, `create_social_post`, `update_social_post`, `remove_social_post`
- **Webhooks:** none
- **List filters:** `list_limit`, `list_offset`
- **Required list filters:** `list_profile_id`
- **Readable fields:** `body`, `created_at`, `id`, `metrics`, `profile_id`, `status`, `title`, `type`, `url`
- **Writable fields:** `body`, `profile_id`
- **Required on create:** `body`
- **Vendor objects:** `MediaTopic`
- **Model:** https://docs.unified.to/social/post/model.md

### social_profile

- **Methods:** `list`, `get`
- **MCP tools:** `list_social_profiles`, `get_social_profile`
- **Webhooks:** none
- **List filters:** `list_limit`, `list_offset`
- **Readable fields:** `avatar_url`, `category`, `created_at`, `description`, `id`, `is_private`, `location`, `metrics`, `name`, `phone`, `updated_at`, `url`, `username`, `website_url`
- **Writable fields:** none
- **Vendor objects:** `UserInfo`, `GroupBean`
- **Model:** https://docs.unified.to/social/profile/model.md
