API : get token with privatekey & publickey

Hello everyone,

I need to connect Make to an external API and I have the documentation
Apparently, I therefore need to generate a token using a public key (which I have) and a private key (same).

What I’ve done:
Module HTTP ‘make an API KEY Auth request’
URL: https://api.ogust.com/api/v2/apiogust.php?method=getToken
Headers item 1: publickey with the value
Headers item 2: privatekey with the value
Method: POST
Body type: raw
Content type: json
Request content: get_token

But it’s not working so I don’t know what to do.

Can someone help me please?

Thanks a lot!

Welcome to the Make community!

This seems like a complex scenario you’re trying to make, perhaps exporting the blueprint might help others replicate the issue to be able to answer your question. If you can provide a test API token that would help too.

At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.


Uploading it here will look like this:

blueprint.json (123.4 KB)


Thank you !

Here is the blueprint’s export.

I provided test API keys, i’ll keep trying to succeed on generating a token.

blueprintAPIOGUST.json (9.8 KB)