List Contacts without ID

Hello there.

I’m trying to retrieve a contact given a specific email. As far as I know, activecampaign-api-nodejs doesn’t allow you to do this so I’m using request module. To achieve it, I’m trying to get the list of contacts with that email, but I’m having problems treating that object.

I’m doing the following:

const url = 'https://myapi.api-us1.com/api/3/contacts?email=myEmail ;
        const options = {
          method: 'GET',
          url: url,
          headers: {
            'Api-Token': 'mykey',
            'Content-Type': 'application/x-www-form-urlencoded'
          }
        };
    const contactAC = await request(options);

Every time I try to get info from that contactAC I got undefined.

Thank you so much.