curl -i -X POST \
https://uberall.com/api/social-ai/generate-content \
-H 'Content-Type: application/json' \
-d '{
"prompt": "string",
"campaignId": 0,
"businessIds": [
0
],
"locationIds": [
0
],
"listingPageIds": [
0
],
"businessPageIds": [
0
],
"labels": [
"string"
],
"locationGroupIds": [
0
],
"directories": [
"string"
],
"type": "string",
"descriptionMaxLength": 0,
"titleMaxLength": 0
}'
Generate AI-based social post content
Request
It looks for previous social posts which match the context in the request and use them to send to the AI to generate similar social post content that mimics tone and style
Prompt for the AI to generate content
Campaign ID to which the content will be generated
List of business IDs to filter the previous social post content
List of location IDs to filter the previous social post content
List of listing page IDs to filter the previous social post content
List of business page IDs to filter the previous social post content
List of labels to filter the previous social post content
List of location group IDs to filter the previous social post content
List of directories to filter the previous social post content
Type of Social Post to filter the previous social post content
Description max length
Title max length
curl -i -X POST \ https://uberall.com/api/social-ai/generate-content \ -H 'Content-Type: application/json' \ -d '{ "prompt": "string", "campaignId": 0, "businessIds": [ 0 ], "locationIds": [ 0 ], "listingPageIds": [ 0 ], "businessPageIds": [ 0 ], "labels": [ "string" ], "locationGroupIds": [ 0 ], "directories": [ "string" ], "type": "string", "descriptionMaxLength": 0, "titleMaxLength": 0 }'Responses
OK
Prompt used in the requests
Social Post description generated by the AI
Social Post title generated by the AI
Language detected in the generated content
{ "prompt": "string", "description": "string", "title": "string", "language": "string" }