Channex.io
Search…
API Key Access
Persistent API Key access without refresh requirements
If you develop a server-side application like a Property Management System (PMS) or Revenue Management (RMS) or similar.
You will need to use the API key method instead of user credentials
In the future logging in with user credentials will trigger 2-factor authentication which will break your integration.

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 we have just subscribed and it does not show try refresh browser or logout and back in.
In the User Profile you will see a new section: API Keys.
API Key management interface
Press Create new API Key, fill API Key name and press Create to generate a new API Key.
Create new API Key Interface
After that, you should see the next message:
Generated API Key Interface
Please, copy the API Key and keep it in a safe place. API Key will only be shown once. If you lose the API Key, you can generate a new one.

API Key Usage

To send an API requests using the API Key, you should pass it as user-api-key header into request.
1
GET /api/v1/properties/ HTTP/1.1
2
Host: staging.channex.io
3
Content-Type: application/json
4
user-api-key: uU08XiMgk8a7CrY4xUjAReUIuTrn83R123adaVb8Tf/qMcVTEgriuJhXWs/1Q1P
Copied!

Revoke API Key

Sometimes, an API Key can be 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.
Revoke API Key Interface

What is possible via the API Key

Using the key you will get access to the same powers as the user, but you don't have to use username and password to login.