Channex.io
  • Channex.io Documentation
  • About Channex & FAQ
  • Changelog
  • For OTA
    • Intro
    • Channex Shopping API
    • Open Channel API
  • FOR PMS
    • API Reference
    • API Rate Limits
    • Property Size Limits
    • Properties Collection
    • Property Users Collection
    • Groups Collection
    • Group Users Collection
    • Room Types Collection
    • Rate Plans Collection
    • Availability and Rates
    • Webhook Collection
    • Bookings Collection
    • Booking CRS API
    • Channel API
    • Photos Collection
    • Hotel Policy Collection
    • Facilities Collection
    • Taxes and Tax Sets
    • Applications API
    • Messages Collection
    • Reviews Collection
    • Availability Rules Collection
    • Stripe Tokenization App
    • Payment Application API
    • Channel Codes
    • Channel IFrame
    • PMS Certification Tests
  • Guides
    • PMS Integration Guide
    • Best Practices Guide
    • Test Account for Booking.com
    • Test Accounts for Airbnb
    • Channex Retention Periods
    • Guide to PCI
  • Application Documentation
    • Overview of App Documentation
    • Dashboard
    • Properties and Groups Management
    • Property Tasks
    • Rooms Management
    • Inventory Management
    • Channels Management
    • Channel Log
    • Bookings Management
    • Availability Rules
    • API Key Access
    • Change Log Feature
  • Google Guide
    • Connect Google Channel
    • Google Vacation Rental
    • My Hotel Shop (MHS) Google
  • Channel Mapping Guides
    • Agoda
    • Airbnb
    • Booking.com
    • Ctrip / Trip.com
    • Despegar
    • Dida Travel
    • Emerging Travel
    • Expedia
    • Feratel
    • Getaroom
    • Hipcamp
    • Hostelworld
    • Hopper
    • Hopper Homes
    • Hotelbeds
    • HotelTonight
    • HyperGuest
    • HRS
    • Inntopia
    • Instant Booking Page
    • MakeMyTrip / Goibibo
    • Mg Bedbank
    • OpenGDS
    • Roibos
    • Traveloka
    • Tiket.com
    • VRBO
  • App Guide
    • Apaleo
    • PCI App
Powered by GitBook
On this page
  • Setup an API Key
  • API Key for 1 or more Properties
  • API Key Usage
  • Revoke an API Key
  • What is possible via the API Key

Was this helpful?

  1. Application Documentation

API Key Access

Persistent API Key access without refresh requirements

PreviousAvailability RulesNextChange Log Feature

Last updated 2 years ago

Was this helpful?

If you want to connect an application like a Property Management System (PMS) or Revenue Management (RMS) or similar.

You will need to use the API key

Setup an API Key

This feature is not available for all Users by default, to enable it you will need to have an active subscription.

If you have just subscribed and it does not show try refresh browser or logout and back in.

In the User Profile you will see a section: API Keys.

Press Create new API Key, fill the API Key name and press Create to generate a new API Key.

You can make a API key for all properties or select some properties only.

After that, you should see this next message:

Please, copy the API Key and keep it in a safe place. The API Key will only be shown once. If you lose the API Key, you can generate a new one.an

API Key for 1 or more Properties

Sometimes you need to share only 1 or 2 properties instead of all properties in your account, this is useful for connecting a 3rd party system like a Revenue Management application

Just unselect the "Access to all properties" box and you will get a list of properties to select. The API will only be allowed to access the selected properties

API Key Usage

To send an API requests using the API Key, you should pass it as user-api-key header into request.

GET /api/v1/properties/ HTTP/1.1
Host: staging.channex.io
Content-Type: application/json
user-api-key: uU08XiMgk8a7CrY4xUjAReUIuTrn83R123adaVb8Tf/qMcVTEgriuJhXWs/1Q1P

Revoke an API Key

Sometimes, an API Key can get compromised. This can happen for many different reasons - forgetting the key at a git repo or something else. If you think your API Key is compromised you can revoke that key.

At your User Profile, find your key at list and press Actions button, choose Withdraw action and confirm action.

The API key will still be listed and not removed, just disabled.

What is possible via the API Key

Using the key you will get access to the same powers as the user itself.

If you made an API key for a specific property then you only can access those properties selected.

API Key management interface
Generated API Key Interface
Revoke API Key Interface