← Tools Reference

Stay AI

Stay AI integration (Marketing, Productivity). Imported from open-connector.

API key4 toolshttps://api.retextion.com/api/v2
GET
stay_ai_get_account_settings
Retrieve account-level Stay AI settings for the current API key.

/settings

1 parameter
ParamTypeRequiredDescription
accountIdstringoptionalThe Stay AI account ID whose settings should be retrieved.
GET
stay_ai_list_subscriptions
Query Stay AI subscriptions with documented filters, sorting, and pagination.

/subscriptions

14 parameters
ParamTypeRequiredDescription
emailstringoptionalCustomer email address to filter subscriptions.
statusstringoptionalSubscription status to filter by.
createdAtMinintegeroptionalMinimum created timestamp in milliseconds.
createdAtMaxintegeroptionalMaximum created timestamp in milliseconds.
updatedAtMinintegeroptionalMinimum updated timestamp in milliseconds.
updatedAtMaxintegeroptionalMaximum updated timestamp in milliseconds.
nextBillingDateMinintegeroptionalMinimum next billing timestamp in milliseconds.
nextBillingDateMaxintegeroptionalMaximum next billing timestamp in milliseconds.
prepaidNextDeliveryDateMinintegeroptionalMinimum prepaid subscription next delivery timestamp in milliseconds.
prepaidNextDeliveryDateMaxintegeroptionalMaximum prepaid subscription next delivery timestamp in milliseconds.
pageintegeroptionalPage number to request. Stay AI pages start from 1.
pageSizeintegeroptionalNumber of records per page. Stay AI documents 5 to 100.
sortBystringoptionalField used to sort Stay AI records.
sortDirectionstringoptionalSort direction accepted by Stay AI.
GET
stay_ai_get_subscription
Retrieve a Stay AI subscription by Shopify or internal subscription ID.

/subscriptions/{subscriptionId}

1 parameter
ParamTypeRequiredDescription
subscriptionIdstringrequiredShopify or internal subscription ID.
GET
stay_ai_list_orders
Query Stay AI orders with documented filters, sorting, and pagination.

/orders

8 parameters
ParamTypeRequiredDescription
createdAtMinintegeroptionalMinimum created timestamp in milliseconds.
createdAtMaxintegeroptionalMaximum created timestamp in milliseconds.
updatedAtMinintegeroptionalMinimum updated timestamp in milliseconds.
updatedAtMaxintegeroptionalMaximum updated timestamp in milliseconds.
pageintegeroptionalPage number to request. Stay AI pages start from 1.
pageSizeintegeroptionalNumber of records per page. Stay AI documents 5 to 100.
sortBystringoptionalField used to sort Stay AI records.
sortDirectionstringoptionalSort direction accepted by Stay AI.