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
schedules full type
schedules full type
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
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
Output
history
posts.history
Fetch Ayrshare post history, filterable by date, status, network, and record count.
Risk: read
Output
history full type
history full type