POST

Generate AI Social Media Posts Suggestions


Creates new AI-generated social media post suggestions for promoting the referral program.

This method generates new AI-powered social media post suggestions for promoting the referral program. Use it to refresh content or create alternatives to existing suggestions.

Note: This method generates new suggestions each time it's called. To retrieve existing suggestions without generating new ones, use Get AI Social Media Posts Suggestions.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Referrals
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_api/referral-programs/v1/program/ai-social-media-posts-suggestions

Body Params
topicstringmaxLength 512

Topic to generate social media post suggestions for. For example, fitness, education, or technology.

Response Object
suggestionsArray <AISocialMediaPostSuggestion>maxItems 3

Generated social media post suggestions.


referFriendsPageUrlstringmaxLength 2083

Referral URL to refer friends.

Generate AI Social Media Posts Suggestions
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?