Use the API (english)

Créé par Jean-Raphaël Houdin, Modifié le  Mer, 22 Juill. à 11:43 H par  Jean-Raphaël Houdin

Once your PAT (Personal Access Token) or personal API key is generated, you can use it to authenticate your requests. 


An API request to Merox will take this form


curl -H "username: [Username]" -H "token: [PAT]" -H "v: [APIVersion]" -X GET "https://api.merox.io/[Endpoint]"


For example, if the PAT of 'bob@merox.io' is 'abcdef123456' and he wants to access the list of his domains, the request curl to send would be:


curl -H "username: bob@merox.io" -H "token: abcdef123456" -H "v: 0.1" -X GET "https://api.merox.io/domain"

You can access the list of available endpoints via our API documentation accessible on https://doc.api.merox.io/


The API documentation also allows you to directly perform requests on the different endpoints using your information, or to download the API definition for a faster implementation by the development teams.


Cet article a-t-il été utile ?

C'est super !

Merci pour votre commentaire

Désolé ! Nous n'avons pas pu vous être utile

Merci pour votre commentaire

Dites-nous comment nous pouvons améliorer cet article !

Sélectionner au moins l'une des raisons
La vérification CAPTCHA est requise.

Commentaires envoyés

Nous apprécions vos efforts et nous allons corriger l'article