RelayAPI

OpenClaw

Install the RelayAPI skill for OpenClaw to manage social media posts from your AI assistant.

The RelayAPI skill for OpenClaw lets your AI assistant create posts, manage accounts, upload media, and work with the capabilities available across 22 publishing channels.

Quick Reference

PlatformOpenClaw AI assistant
Version1.0.0
AuthRELAYAPI_API_KEY environment variable
Requirescurl binary
DistributionClawHub

Install

From ClawHub

Search and install the skill directly:

openclaw skills install relayapi

Or browse ClawHub and search for "relayapi".

Manual Install

Copy the skill file to your OpenClaw skills directory:

mkdir -p ~/.openclaw/skills
cp packages/integrations/openclaw/SKILL.md ~/.openclaw/skills/relayapi.md

Restart OpenClaw to load the skill.

Setup

1. Install OpenClaw

If you haven't installed OpenClaw yet:

npm install -g openclaw@latest

Requires Node.js 22+. See the OpenClaw install guide for other methods.

2. Configure Your API Key

Store your key using OpenClaw's secrets system (recommended):

openclaw secrets configure

Or set it as an environment variable:

export RELAYAPI_API_KEY="rlay_live_your_key_here"

Create a key under Settings > API Keys in an existing hosted or self-hosted dashboard. Hosted signup is currently invite-only; request access if needed.

3. Verify

Ask OpenClaw to list your accounts:

List my connected social media accounts using RelayAPI

Usage

Example: Create a Post

Post "Hello from OpenClaw!" to Twitter and LinkedIn using RelayAPI

Example: Schedule a Post

Schedule a RelayAPI post for tomorrow at 9am: "Weekly product update"

Example: Upload Media

Upload banner.png to RelayAPI and create a post with it on Instagram

Example: Check Accounts

Show me all my connected RelayAPI accounts and their health status

How It Works

The skill provides OpenClaw with full documentation of the RelayAPI, including:

  • Authentication — Bearer token via RELAYAPI_API_KEY
  • Post creation — Content, scheduling, multi-platform targeting, media attachments
  • Account management — List, connect, disconnect, health checks
  • Media uploads — Pre-sign, create-only PUT with every returned header, and mandatory confirmation flow
  • Webhooks — Registration and HMAC-SHA256 signature verification
  • Validation tools — Pre-publish content validation
  • Usage and billing — Check API call limits

OpenClaw uses curl under the hood to make requests to https://api.relayapi.dev.

Found something wrong? Help us improve this page.

On this page