Jump to content
Froxlor Forum
  • 0

How to generate API Key and Secret


phpfarmer

Question

Posted

Is there anyone who can tell me HOW TO GENERATE the API Key and Secret so that I can use the REST API, I am using the admin account but nowhere I found the api key create feature.

$request = [
      'header' => [
          'apikey' => 'dein-key',
          'secret' => 'dein-secret'
      ],
      'body' => [
          'command' => 'Customers.add',
		  'params' => $data
      ]
  ];

Thanks in advance

14 answers to this question

Recommended Posts

Posted

Allow API usage in settings -> log in as desired user -> drop-down menu "options" chose "Api keys" and click "add api key"

Posted

Can you let me know the page name or URL of that page? so that I can hit it manually though I don't have it in my options, I am using my admin account information for login.

Posted
12 minutes ago, phpfarmer said:

In settings I don\t see any option to Enable API :(

image.thumb.png.2a4f3541679d7d2bfbf934f69e488fd1.png

Well these are the settings categories....hit settings at the right side of these to see the corresponding settings..."enable API" is under system settings.

Posted
vor 23 Minuten schrieb d00p:

API enabled in the settings?

I actually have checked all the right side settings and here is the system settings

788341061_FireShotCapture003-admin-FroxlorServerManagementPanel-rzh-1-app-1.innoscripta_com.thumb.png.0abf34d18cd3a93ec54ace1e4b56fadc.png

Posted

Version can be seen on the admin dashboard. And if you did not checkout from git you most likely do not have 0.10.0

Posted

aha ok

Seems it is: Installed version:    0.9.40.1-1 (DB: 201809280)

image.png.f32b442dc312cc8a5440dc5da5d22119.png

 

So now how can I update it? seems the auto update doesn't catching it.

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...