What does {id} mean?

I’m trying to post form data from my website form to Active Campaign API

I can see this URL

https://xxxxxxx86046357.api-us1.com/api/3/forms/{id}

At the end it shows {id}

I guess this is to be replaced with the ID of the form I want to post form data to?

But what is the correct format?

$response = $client->request('GET', 'https://xxxxxxx86046357.api-us1.com/api/3/forms/{6})

or

$response = $client->request('GET', 'https://xxxxxxx86046357.api-us1.com/api/3/forms/6)

I’ve tried both, but having problems getting this to work. I’m not sure which is correct and where in my code the issue is.

It’d be handy if someone could confirm either way.

Cheers

Figured it out

[type or paste code here](https://xxxxxxx86046357.api-us1.com/api/3/forms/6)
1 Like