Create Managed Social Settings
const url = 'https://api.wink.travel/api/managing-entity/company-1/studio/managed-social/settings';const options = { method: 'POST', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"customizationIdentifier":"","tones":["NEUTRAL"],"postTypes":["TRANSACTIONAL"],"autoApprove":false,"notificationEmail":"","notificationName":"","targets":[""],"creators":[""],"placeId":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/managing-entity/company-1/studio/managed-social/settings \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "customizationIdentifier": "", "tones": [ "NEUTRAL" ], "postTypes": [ "TRANSACTIONAL" ], "autoApprove": false, "notificationEmail": "", "notificationName": "", "targets": [ "" ], "creators": [ "" ], "placeId": "" }'Create managed social settings.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Search for managed social settings for this ID
Example
company-1Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”Managed social settings request body
object
Customization identifier
Example
customization-1Choose the tone of voice to use in text creation.
object
The tone of voice to use in text creation.
The weight / importance of this tone.
Example
NEUTRALChoose the post type preferences.
object
The post type preference.
The weight / importance of this post type.
Example
TRANSACTIONALWhether to approve posts and publish automatically.
Example
trueThe name of the email address holder.
Example
Hotel XWhen to post and which language to post in.
object
The languages to post in.
Lets the subscriber choose which content creators get used.
object
Lets the subscriber choose which persona gets used.
They weight / importance of this type.
Google Business account ID
Example
google-place-1Responses
Section titled “ Responses ”Created
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
The user ID that owns the account
The owner entity this entry associates with
Customization identifier
Google Place ID
The email address to send post approval reminders.
The name of the email address holder.
Choose the tone of voice to use in text creation.
object
The tone of voice to use in text creation.
The weight / importance of this tone.
Choose the post type preferences.
object
The post type preference.
The weight / importance of this post type.
Whether to approve posts and publish automatically.
Social network consent entries
object
The social network platform
Current connection status
User the Facebook story to describe a Page
object
Page ID we are posting to
Name of page we are posting to
Connection token that gives us access to the account
When to post and which language to post in.
object
The languages to post in.
Lets the subscriber choose which content creators get used.
object
Lets the subscriber choose which persona gets used.
They weight / importance of this type.
Example
{ "id": "", "createdDate": "", "lastUpdate": "", "version": "", "userIdentifier": "", "ownerIdentifier": "", "customizationIdentifier": "", "placeId": "", "notificationEmail": "", "notificationName": "", "tones": [ "NEUTRAL" ], "postTypes": [ "TRANSACTIONAL" ], "autoApprove": false, "connections": [ "" ], "targets": [ "" ], "creators": [ "" ]}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}