Calendar
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/studio/managed-social/post/calendar';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"startDate":"","endDate":""}'};
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/post/calendar \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "startDate": "", "endDate": "" }'Returns the account’s posts falling within the requested date range for calendar display.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Load calendar for this managing entity
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”Date range for calendar view
object
Start date to filter calendar entries from (ISO 8601 format)
Example
2026-03-15T18:30:00ZEnd date to filter calendar entries up to (ISO 8601 format)
Example
2026-03-15T18:30:00ZResponses
Section titled “ Responses ”OK
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 managing entity this post belongs to
The post customization/template identifier used to create this post
Status of post.
The structural intent of this post.
The language style used for this post.
Type of post.
A link to go with the text
object
A url url
Description of url
Top 5
Optional geo-location
object
A single entry array under most circumstances in the language the post was created for.
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
CDN image/media assets (most platforms support up to 10 images per post)
object
Document identifier
Use this identifier to communicate with Cloudinary.
Whether Cloudinary media is a VIDEO or IMAGE.
Currently ONLY using Cloudinary to store all image / video assets.
Sort allows you to control how you want to sort this record in a list of media records.
Media angle
Media width in pixels.
Media height in pixels.
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Whether image has attribution properties
object
URL to contributor
Name of contributor
True if media width is greater or equal to height
Exact date and time when the post will be published (ISO 8601 format)
IANA timezone identifier (e.g. Asia/Bangkok, America/New_York)
Which platform to post to.
Platform-specific metadata for this post
object
Human-readable status explanation (typically used for error messages)
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "userIdentifier": "", "ownerIdentifier": "", "customizationIdentifier": "", "status": "DRAFT", "postType": "TRANSACTIONAL", "toneOfVoice": "NEUTRAL", "type": "MANUAL", "link": "", "location": "", "descriptions": [ "" ], "multimedias": [ null ], "userTags": [ "" ], "hashTags": [ "" ], "scheduledDate": "", "timezone": "", "platform": "WINK_LINKS", "metadata": "", "statusText": "" }]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
{}