Skip to content

Update post

PATCH
/api/managing-entity/{managingEntityIdentifier}/social/post/{postIdentifier}
curl --request PATCH \
--url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/social/post/c8f2a5e7-1d9b-4e3c-9a2f-5e7b8d3c1f4a \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data null

Updates an existing managed social post identified by its identifier with the supplied content.

managingEntityIdentifier
required
string
""

Update post for this managing entity

Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69
postIdentifier
required
string
""

Update this specific post

Example
c8f2a5e7-1d9b-4e3c-9a2f-5e7b8d3c1f4a
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

Updated post content and scheduling details

Media type application/json

Request to create or update a managed social post, specifying content, tone, scheduling, and platform details.

object
customizationIdentifier
required

The post customization/template identifier to base this post on

string format: uuid
"" >= 1 characters
Example
d7e1b4f6-2c8a-4d2b-8f3e-6d9c7b2a0e5f
postType
required

The structural intent of this post.

string
default: TRANSACTIONAL
Allowed values: TRANSACTIONAL AWARENESS SENTIMENT
Example
TRANSACTIONAL
toneOfVoice
required

The language style used for this post.

string
default: NEUTRAL
Allowed values: NEUTRAL FRIENDLY LUXURY FOODIE ADVENTUROUS FAMILY ROMANTIC HUMOROUS ECO LOCAL_INSIDER INCLUSIVE BUDGET
Example
NEUTRAL
type
required

Type of post.

string
default: MANUAL
Allowed values: MANUAL TRANSACTIONAL AWARENESS SENTIMENT
Example
MANUAL
link

A link to go with the text

object
url
required

The fully-qualified URL to link from the post

string format: uri
"" >= 1 characters
Example
https://www.thesiamresidences.com
description

Human-readable description of the link destination shown alongside the URL

string
""
Example
Discover The Siam Residences
caption

Short caption typically showing the domain of the URL

string
""
Example
thesiamresidences.com
Example
{
"url": "https://www.thesiamresidences.com",
"description": "Discover The Siam Residences",
"caption": "thesiamresidences.com"
}
location

Optional geo-location

object
x
number format: double
y
number format: double
type
string
coordinates
Array<number>
descriptions
required

A single entry array under most circumstances in the language the post was created for.

Array<object>
>= 1 items

Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.

object
name
required

Use as title or short text description

string
""
Example
An example title
description
required

Longer text description

string
"" >= 1 characters <= 2147483647 characters
Example
This is a longer description in the specified language.
language
required

Indicate which language this description is written in.

string
default: en >= 2 characters <= 2 characters /^[a-z]{2}(-[A-Z]{2})?$/
Example
en
creator

Whether it was user or system generated.

string
default: USER
Allowed values: SYSTEM USER
Example
SYSTEM
md5ContentHash

The md5 hash of the name, description and language.

string
""
Example
d41d8cd98f00b204e9800998ecf8427e
hashMismatch
boolean
Example
{
"name": "Deluxe River View Suite",
"description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.",
"language": "en",
"creator": "USER",
"md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82"
}
multimedias
Array<object>

CDN image/media assets (most platforms support up to 10 images per post)

object
multimediaIdentifier
required

Document identifier

string format: uuid
"" >= 1 characters
Example
3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51
identifier
required

Use this identifier to communicate with Cloudinary.

string
"" >= 1 characters
Example
cloudinary-image-1
type
required

Whether Cloudinary media is a VIDEO or IMAGE.

string
""
Allowed values: IMAGE VIDEO AUDIO RAW
Example
IMAGE
source
required

Currently ONLY using Cloudinary to store all image / video assets.

string
default: CLOUDINARY
Allowed values: YOUTUBE CLOUDINARY
Example
CLOUDINARY
sort
required

Sort allows you to control how you want to sort this record in a list of media records.

integer format: int32
default: 999
Example
10
angle

Media angle

string
""
Example
-90
width
required

Media width in pixels.

integer format: int32
"" >= 1
Example
2560
height
required

Media height in pixels.

integer format: int32
"" >= 1
Example
1600
published

Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.

boolean
Example
true
category

Supported OTA specification PIC code. See OTA geoname data

string
""
Example
1
descriptions

Localized media captions to give user some context about where this media was taken.

Array<object>
""

Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.

object
name
required

Use as title or short text description

string
""
Example
An example title
description
required

Longer text description

string
"" >= 1 characters <= 2147483647 characters
Example
This is a longer description in the specified language.
language
required

Indicate which language this description is written in.

string
default: en >= 2 characters <= 2 characters /^[a-z]{2}(-[A-Z]{2})?$/
Example
en
creator

Whether it was user or system generated.

string
default: USER
Allowed values: SYSTEM USER
Example
SYSTEM
md5ContentHash

The md5 hash of the name, description and language.

string
""
Example
d41d8cd98f00b204e9800998ecf8427e
hashMismatch
boolean
Example
{
"name": "Deluxe River View Suite",
"description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.",
"language": "en",
"creator": "USER",
"md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82"
}
lifestyleType

Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.

string
""
Allowed values: LIFESTYLE_HEALTH_FITNESS LIFESTYLE_RELAX LIFESTYLE_ADULT_ONLY LIFESTYLE_ADVENTURE LIFESTYLE_BUSINESS LIFESTYLE_LGBT LIFESTYLE_SINGLE_PARENT LIFESTYLE_SOLO_FEMALE LIFESTYLE_BEAUTY LIFESTYLE_FOODIE LIFESTYLE_FAMILY LIFESTYLE_ROMANCE LIFESTYLE_COUPLE LIFESTYLE_SOLO LIFESTYLE_BACKPACKER LIFESTYLE_SHOPPING LIFESTYLE_SPORTS LIFESTYLE_MOUNTAIN LIFESTYLE_BEACH LIFESTYLE_CITY LIFESTYLE_COUNTRY LIFESTYLE_CULTURE LIFESTYLE_ECO
Example
LIFESTYLE_HEALTH_FITNESS
attribution

Whether image has attribution properties

Array<object>
""
object
url

URL to contributor

string format: uri
""
Example
https://maps.google.com/maps/contrib/111628493169070103594
name
required

Name of contributor

string
"" >= 1 characters
Example
Samuel Adams
Example
{
"url": "https://maps.google.com/maps/contrib/111628493169070103594",
"name": "Samuel Adams"
}
isLandscape

True if media width is greater or equal to height

boolean
Example
true
Example
{
"multimediaIdentifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51",
"identifier": "the-siam-residences/lobby-entrance",
"type": "IMAGE",
"source": "CLOUDINARY",
"sort": 10,
"angle": null,
"width": 2560,
"height": 1600,
"published": true,
"category": "2",
"descriptions": [
{
"title": "Lobby Entrance",
"description": "Elegant lobby of The Siam Residences",
"language": "en"
}
],
"lifestyleType": null,
"attribution": [],
"isLandscape": true
}
userTags
Array<string>
hashTags
Array<string>
scheduledDate
required

Date and time when the post will be published (ISO 8601 format, interpreted in the supplied timezone)

string format: date-time
""
Example
2026-03-15T18:30:00Z
timezone
required

IANA timezone identifier (e.g. Asia/Bangkok, America/New_York)

string
"" >= 1 characters
Example
Asia/Bangkok
platform
required

Which social platform to publish this post to

string
""
Allowed values: WINK_LINKS FACEBOOK INSTAGRAM
Example
FACEBOOK
metadata

Platform-specific metadata for this post

object
key
additional properties
Example
{
"customizationIdentifier": "d7e1b4f6-2c8a-4d2b-8f3e-6d9c7b2a0e5f",
"postType": "TRANSACTIONAL",
"toneOfVoice": "NEUTRAL",
"type": "MANUAL",
"link": {
"url": "https://www.thesiamresidences.com",
"description": "Discover The Siam Residences",
"caption": "thesiamresidences.com"
},
"descriptions": [
{
"name": "Deluxe River View Suite",
"description": "Spacious suite with floor-to-ceiling windows overlooking the Chao Phraya River, featuring a king-size bed, private balcony, and marble bathroom.",
"language": "en",
"creator": "USER",
"md5ContentHash": "a3f1c8e2d74b60912a5c3e9b1d7f4e82"
}
],
"multimedias": [
{
"multimediaIdentifier": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51",
"identifier": "the-siam-residences/lobby-entrance",
"type": "IMAGE",
"source": "CLOUDINARY",
"sort": 10,
"angle": null,
"width": 2560,
"height": 1600,
"published": true,
"category": "2",
"descriptions": [
{
"title": "Lobby Entrance",
"description": "Elegant lobby of The Siam Residences",
"language": "en"
}
],
"lifestyleType": null,
"attribution": [],
"isLandscape": true
}
],
"userTags": [
"@luxurytravel"
],
"hashTags": [
"#ThailandTravel"
],
"scheduledDate": "2026-03-15T18:30:00Z",
"timezone": "Asia/Bangkok",
"platform": "FACEBOOK"
}

The updated managed social post

Media type application/json

A scheduled social media post belonging to a managing entity, containing content, metadata, and publishing details for a specific social platform.

object
id

Document UUID

string format: uuid
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

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.

integer format: int64
""
userIdentifier
required

The user ID that owns the account

string format: uuid
"" >= 1 characters
ownerIdentifier
required

The managing entity this post belongs to

string format: uuid
"" >= 1 characters
customizationIdentifier
required

The post customization/template identifier used to create this post

string format: uuid
"" >= 1 characters
status
required

Status of post.

string
""
Allowed values: DRAFT PENDING_APPROVAL APPROVED REJECTED PAUSED PUBLISHED FAILED
postType
required

The structural intent of this post.

string
default: TRANSACTIONAL
Allowed values: TRANSACTIONAL AWARENESS SENTIMENT
toneOfVoice
required

The language style used for this post.

string
default: NEUTRAL
Allowed values: NEUTRAL FRIENDLY LUXURY FOODIE ADVENTUROUS FAMILY ROMANTIC HUMOROUS ECO LOCAL_INSIDER INCLUSIVE BUDGET
type
required

Type of post.

string
default: MANUAL
Allowed values: MANUAL TRANSACTIONAL AWARENESS SENTIMENT
link

A link to go with the text

object
url
required

The fully-qualified URL to link from the post

string format: uri
"" >= 1 characters
description

Human-readable description of the link destination shown alongside the URL

string
""
caption

Short caption typically showing the domain of the URL

string
""
location

Optional geo-location

object
x
number format: double
y
number format: double
type
string
coordinates
Array<number>
descriptions
required

A single entry array under most circumstances in the language the post was created for.

Array<object>
>= 1 items

Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.

object
name
required

Use as title or short text description

string
""
description
required

Longer text description

string
"" >= 1 characters <= 2147483647 characters
language
required

Indicate which language this description is written in.

string
default: en >= 2 characters <= 2 characters /^[a-z]{2}(-[A-Z]{2})?$/
creator

Whether it was user or system generated.

string
default: USER
Allowed values: SYSTEM USER
md5ContentHash

The md5 hash of the name, description and language.

string
""
hashMismatch
boolean
multimedias
Array<object>

CDN image/media assets (most platforms support up to 10 images per post)

object
multimediaIdentifier
required

Document identifier

string format: uuid
"" >= 1 characters
identifier
required

Use this identifier to communicate with Cloudinary.

string
"" >= 1 characters
type
required

Whether Cloudinary media is a VIDEO or IMAGE.

string
""
Allowed values: IMAGE VIDEO AUDIO RAW
source
required

Currently ONLY using Cloudinary to store all image / video assets.

string
default: CLOUDINARY
Allowed values: YOUTUBE CLOUDINARY
sort
required

Sort allows you to control how you want to sort this record in a list of media records.

integer format: int32
default: 999
angle

Media angle

string
""
width
required

Media width in pixels.

integer format: int32
"" >= 1
height
required

Media height in pixels.

integer format: int32
"" >= 1
published

Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.

boolean
category

Supported OTA specification PIC code. See OTA geoname data

string
""
descriptions

Localized media captions to give user some context about where this media was taken.

Array<object>
""

Foundation class for storing multi-language content (names and descriptions) with content change detection throughout the Wink Platform.

object
name
required

Use as title or short text description

string
""
description
required

Longer text description

string
"" >= 1 characters <= 2147483647 characters
language
required

Indicate which language this description is written in.

string
default: en >= 2 characters <= 2 characters /^[a-z]{2}(-[A-Z]{2})?$/
creator

Whether it was user or system generated.

string
default: USER
Allowed values: SYSTEM USER
md5ContentHash

The md5 hash of the name, description and language.

string
""
hashMismatch
boolean
lifestyleType

Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.

string
""
Allowed values: LIFESTYLE_HEALTH_FITNESS LIFESTYLE_RELAX LIFESTYLE_ADULT_ONLY LIFESTYLE_ADVENTURE LIFESTYLE_BUSINESS LIFESTYLE_LGBT LIFESTYLE_SINGLE_PARENT LIFESTYLE_SOLO_FEMALE LIFESTYLE_BEAUTY LIFESTYLE_FOODIE LIFESTYLE_FAMILY LIFESTYLE_ROMANCE LIFESTYLE_COUPLE LIFESTYLE_SOLO LIFESTYLE_BACKPACKER LIFESTYLE_SHOPPING LIFESTYLE_SPORTS LIFESTYLE_MOUNTAIN LIFESTYLE_BEACH LIFESTYLE_CITY LIFESTYLE_COUNTRY LIFESTYLE_CULTURE LIFESTYLE_ECO
attribution

Whether image has attribution properties

Array<object>
""
object
url

URL to contributor

string format: uri
""
name
required

Name of contributor

string
"" >= 1 characters
isLandscape

True if media width is greater or equal to height

boolean
userTags
Array<string>
hashTags
Array<string>
scheduledDate
required

Exact date and time when the post will be published (ISO 8601 format)

string format: date-time
""
timezone
required

IANA timezone identifier (e.g. Asia/Bangkok, America/New_York)

string
"" >= 1 characters
platform
required

Which platform to post to.

string
""
Allowed values: WINK_LINKS FACEBOOK INSTAGRAM
metadata

Platform-specific metadata for this post

object
key
additional properties
statusText

Human-readable status explanation (typically used for error messages)

string
""
key
additional properties
""
Example
{
"id": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51",
"userIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69",
"ownerIdentifier": "d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69",
"customizationIdentifier": "d7e1b4f6-2c8a-4d2b-8f3e-6d9c7b2a0e5f",
"status": "APPROVED",
"postType": "TRANSACTIONAL",
"toneOfVoice": "NEUTRAL",
"type": "MANUAL",
"descriptions": [
{
"name": "Discover The Siam Residences",
"description": "Experience luxury living in the heart of Bangkok.",
"language": "en"
}
],
"userTags": [
"@luxurytravel"
],
"hashTags": [
"#ThailandTravel"
],
"scheduledDate": "2026-03-15T18:30:00Z",
"timezone": "Asia/Bangkok",
"platform": "FACEBOOK"
}

Bad Request — missing or invalid request parameter or body

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example