Your first API call

Now let's take our access token (temporary or long-term) and make our first API call. You will need to add 2 headers to your request to make it work:

  • Content-Type with the value application/json

  • Authorization with your access token as value

curl --location --request GET 'https://api.mediarithmics.com/v1/plugins?max_results=100' \
--header 'content-type: application/json' \
--header 'Authorization: <ACCESS_TOKEN>'

And there your are!

You'll notice that responses are formatted a bit like this:

{
    "status": "ok",
    "data": [
        ...

    ],
    "count": 100,
    "total": 181,
    "first_result": 0,
    "max_result": 100,
    "max_results": 100
}

Check out our api guide if you want to learn about the different response formats.

Also you can check our API reference for a complete list of endpoints.

Last updated