Not sure how to make this api call

I’m currently attempting to connect an api for moz.com. My main issue here is that due to my inexperience with implementing APIs, i have no idea what I’m doing when i try to create an api call.

Here’s all the info in the api help section. What I’m trying to figure out is where I’d put everything.

And these are under: “Parameters”

I’d appreciate it if anyone could help me with understanding how this info works

distributions is a boolean value, you dont need to add additional parameters.

Paste the JSON body inside ur body and then you can initialize it. Whatever value you want to fill in, put it inside these tags <>

["<string>"]

1 Like

Thanks for the response. but I’m having an issue when initializing a call. It gives me an error that the “url is not correct” I used the /v2/url_metrics which is mentioned in the top of the page, and set it to POST. What am I doing wrong?

This is how it should look, you would need to fill in the values according to your own data.

2 Likes

Thank you, I’ll try that out