Ayrshare

3 tools available

Ayrshare provides a Social Media API that enables developers to programmatically manage and automate social media posts, analytics, and interactions across multiple platforms.

Connect Ayrshare to Definable to automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas call Ayrshare's 3 tools directly from chat or scheduled flows. You can wire it into any persona to read, write, and react when an event fires.

Common workflows with Ayrshare

01

Trigger on event

  1. Listen for a new event
  2. Parse and validate the payload
  3. Take an action with the linked tool
02

Daily summary

  1. Pull yesterday's activity
  2. Summarise with the model of your choice
  3. Send the digest via email or Slack
03

Cross-tool sync

  1. Read records from one app
  2. Transform with a persona
  3. Write the result back via this integration

Ayrshare actions 3

Every Ayrshare action below is a callable tool any Definable persona can invoke.

Create Auto Schedule

Tool to create a new auto-post schedule with specified times and optional weekday filters. Use when setting up recurring posting plans.

Delete a previously published Ayrshare post

Tool to delete an Ayrshare post. Use when you need to remove a published or scheduled post by its Ayrshare Post ID, after confirming the correct ID. Note: Instagram and TikTok published posts cannot be deleted via API; set `mark_manual_deleted=True` or remove manually.

Get Post History

Tool to retrieve Ayrshare post history with metrics. Use when you need to fetch and filter past posts by date, status, or record count.

Frequently asked questions

What can I automate with Ayrshare on Definable?

Anything Ayrshare exposes through its API. Common social media marketing workflows on Definable include automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas can call any of the 3 Ayrshare tools directly, then chain the result into another integration without you writing code.

How does Ayrshare authentication work?

Ayrshare uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Ayrshare integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 3 Ayrshare tools. You only need a separate Ayrshare subscription if Ayrshare itself charges per seat or per API call.

Is using Ayrshare through Definable secure?

Every call from a persona to Ayrshare is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Ayrshare on Definable?

Sign up for Definable, open the integrations page, find Ayrshare, and connect via OAuth or API key. You can immediately attach Ayrshare to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Ayrshare actions does Definable expose?

Definable exposes all 3 Ayrshare actions as callable tools — including `Create Auto Schedule`, `Delete a previously published Ayrshare post`, `Get Post History`. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Ayrshare?

Wire it up in minutes. No coding required.

← All integrations