MEFS API Reference Help

Authentication

All MEFS API endpoints are secured and require an API key within each request.

API subscribers can view and manage API keys on the Eyewear Portal.

To obtain access to API key management you can contact MEFS Support

API Keys generation

To generate an API key you should perform the next steps:

  1. Go to the page "New API key".

  2. Enter the API key name. It can be any meaningful string, which can help the API manager to remember for what purpose a particular API key was generated.

  3. Click the "Generate" button. A new API key value will be displayed on the screen.

  4. Please, copy or write down that key for future usage

  1. Click "Close" to return to the API keys list page.

API keys format

Keys are 256-bit strings, for example: FSKS27TFDQ42A3EIBNZ9P6846TAL5QK8.

Each API key has a unique identifier in the format of a GUID. That ID isn`t used in authentication or authorization. In case of any problems with the API or with authentication users can reference that ID in the support requests.

Usage

The API key should be provided in the header X-API-Key. Cookies and query parameters are not supported.

curl -X POST "https://api.mefs.com/api/orders" \ -H "X-API-Key: FSKS27TFDQ42A3EIBNZ9P6846TAL5QK8" # Rest of request
Last modified: 30 квітня 2025