Skip to main content

Contact Centers

This API returns the phone number and associated metadata (legal font, hours of operation) that a customer should use to contact the Accor contact center

Version
2.0.0
Status
Coming soon
Incident
No incident

How to use

Authentication

Subscribe an application to the product [Marketing] ACCeS Contact Numbers V2 in the Developer Portal and send its key in the apikey header.

Base URL

Environment Base URL
Development https://dev-api.accor.com/contact-center/v2/contact
OAT https://rec-api.accor.com/contact-center/v2/contact
Preproduction https://pre-api.accor.com/contact-center/v2/contact
Production https://api.accor.com/contact-center/v2/contact

The development environment holds incomplete data that may change at any time.

Parameters

Parameter Mandatory Description
country Yes ISO 3166-1 alpha-2 country code, lowercase (fr, es, de).
language Yes Language code, lowercase (fr, en).
contextSite No Site the customer is browsing. Defaults to accor. Aliases: contextsite, context_site.
cardTypes No Loyalty card: TARS code (A6, A3), limitless, JSON array or CSV. Absent: the default numbers apply.
hotelCode No Hotel selected by the customer. Aliases: hotelcode, codeHotel.

How the number is chosen

  1. A Limitless card gives the dedicated Limitless number, whatever the hotel.
  2. Otherwise, an Ibis Budget (IBB) or Formule 1 (HOF) hotel located in France gives an empty answer.
  3. Otherwise, on the accor site, the brand of the hotel selects the Luxury or Ultra Luxury numbers. Any other brand, or no hotel, gives the standard numbers.
  4. On a brand site (novotel, sofitel, fairmont...), the site selects the numbers.

Get a contact number

curl -H "apikey: <YOUR_KEY>" \
  "https://api.accor.com/contact-center/v2/contact?country=fr&language=fr&cardTypes=A3&hotelCode=A5E1"
{
  "error": false,
  "data": {
    "phoneNumber": "+33 1 87 21 37 10",
    "hoursOfOperation": null,
    "associatedLegalFont": {
      "code": "free_tier",
      "price": { "frequency": "", "currency": null, "amount": null }
    },
    "description": "Prix d'un appel local depuis la France.\nDes frais internationaux peuvent s'appliquer depuis l'étranger",
    "name": "FR065"
  }
}

For an Ibis Budget or Formule 1 hotel in France, every field of data is empty or null: hide the phone block.

Errors

HTTP code Meaning
400 A parameter is missing or not valid. detail.errors lists each invalid parameter.
401 The API key is missing or not valid.
404 No contact number matches the country, the language and the context.
500 Unexpected error. Retry, then contact support.

About us

We are far more than a worldwide leader. We are 300,000 hospitality experts placing people at the heart of what we do, and nurturing real passion for service and achievement beyond limits. We take care of millions of guests in our 5,000 addresses.