POST
/
integrations
/
social
curl -X POST 'https://api.memsync.ai/integrations/social' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "platform": "linkedin",
    "auth_token": "linkedin_access_token_here",
    "import_settings": {
      "posts": true,
      "connections": true,
      "activities": false
    }
  }'
{
  "integration_id": "int_linkedin_123",
  "platform": "linkedin",
  "status": "syncing",
  "import_stats": {
    "total_items": 147,
    "imported_memories": 89,
    "skipped_items": 52,
    "errors": 6
  },
  "last_sync": "2024-01-15T16:30:00Z",
  "next_sync": "2024-01-16T16:30:00Z"
}
Connects social media accounts to automatically import memories from posts, interactions, and activities.
curl -X POST 'https://api.memsync.ai/integrations/social' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "platform": "linkedin",
    "auth_token": "linkedin_access_token_here",
    "import_settings": {
      "posts": true,
      "connections": true,
      "activities": false
    }
  }'

Request Body

platform
string
required
Social media platform to integrate. Supported: linkedin, twitter, reddit
auth_token
string
required
OAuth access token for the platform
import_settings
object
Configuration for what data to import
auto_sync
boolean
default:"true"
Whether to automatically sync new content
categories
object
Category mapping for imported content

Response

integration_id
string
Unique identifier for the integration
platform
string
Social media platform that was connected
status
string
Current status: connected, syncing, error, disconnected
import_stats
object
Statistics about the import process
last_sync
string
ISO 8601 timestamp of last successful sync
next_sync
string
ISO 8601 timestamp of next scheduled sync
{
  "integration_id": "int_linkedin_123",
  "platform": "linkedin",
  "status": "syncing",
  "import_stats": {
    "total_items": 147,
    "imported_memories": 89,
    "skipped_items": 52,
    "errors": 6
  },
  "last_sync": "2024-01-15T16:30:00Z",
  "next_sync": "2024-01-16T16:30:00Z"
}

Supported Platforms