Suggest profile
const url = 'https://api.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/extranet/property/profile/suggest';const options = { method: 'POST', headers: { 'Wink-Version': '2.0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"language":""}'};
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/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/extranet/property/profile/suggest \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "language": "" }'Uses AI to generate suggested profile copy for the property based on the supplied request, returning the suggestions for review.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Suggest for this property identifier
Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Language to use
Example
enResponses
Section titled “ Responses ”OK
object
Website URL of the property
Property ambiance and atmosphere
Primary address line
Secondary address line (apartment, suite, etc.)
Tertiary address line
City name
Province or state
Postal or zip code
Country name
Contact phone number
Contact email address
Architectural style (e.g., Contemporary, Colonial, Art Deco)
Key design elements and aesthetic features
Historical significance or heritage status
Total number of rooms available
Star rating of the property
Location category code
Market segment (e.g., Luxury, Boutique, Business)
Property classification code
Architectural/design style code
Hotel chain affiliation if applicable
Brand or brand identity
Year the property was built or renovated
Example
{ "website": "", "ambiance": "", "address1": "", "address2": "", "address3": "", "city": "", "province": "", "postalCode": "", "country": "", "phoneNumber": "", "emailAddress": "", "architecture": "", "designElements": "", "historic": "", "numberOfRooms": "", "hotelStars": "", "locationCategory": "", "segment": "", "propertyClass": "", "style": "", "chain": "", "brand": "", "yearBuilt": ""}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
{}