Authentication

The Edgemesh® API uses API keys to authenticate requests. You can view and manage your API keys in the Edgemesh® Portal.

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

API keys are personal and will have the same access and permissions as your account.

Authentication is performed on requests by reading the API Key from the X-API-Key header or the api-key search parameter.

All API requests must be made over HTTPS. Non-secure requests will return a 301 response.

Authenticated Request
1# X-API-Key Header
2curl https://api.edgemesh.com/2022-08/health /
3 -H 'Accept: application/json' /
4 -H 'X-API-Key: EM-0000000-0000000-0000000-0000000'
5
6# Search Parameter
7curl https://api.edgemesh.com/2022-08/health?api-key=EM-0000000-0000000-0000000-0000000 /
8 -H 'Accept: application/json'
Your API Key
A sample API Key is used in all the request examples. This API key is not valid and will not result in successful requests. You can log in to have your API Key substituted in these examples. Just log in and select your desired API key and domain from the menus in the sidebar.

Made withby Edgemesh Corporation