Skip to main content
Every ayrshare.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Auto Schedule

list

autoSchedule.list List active auto-post schedules, including titles, UTC times, weekday filters, and exclude dates. Risk: read
Input: empty object Output

set

autoSchedule.set Create or replace an auto-post schedule. Its case-sensitive title is the join key used by publish autoSchedule.title. Risk: write
Input Output

Posts

delete

posts.delete Delete an Ayrshare post by id. Published Instagram and TikTok posts cannot be deleted via API; use markManualDeleted only after deleting them on the network. Risk: destructive · Irreversible
Input Output

history

posts.history Fetch Ayrshare post history, filterable by date, status, network, and record count. Risk: read
Input Output