Create settings
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/managed-social/settings';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', '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/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/managed-social/settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "customizationIdentifier": "", "tones": [ "NEUTRAL" ], "postTypes": [ "TRANSACTIONAL" ], "autoApprove": false, "notificationEmail": "", "notificationName": "", "targets": [ "" ], "creators": [ "" ], "placeId": "" }'Creates the initial managed-social settings for the managing entity and returns the persisted configuration.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Create settings for this managing entity
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”Initial managed social settings configuration
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
Sub-accounts (pages, profiles) available through this connection
object
Platform-specific identifier for this sub-account (page, profile, etc)
Display name of the sub-account
Whether this sub-account is currently selected for posting
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
{}