ASP - Sample API call to add/update a subscriber

List id is found under Subscribers & Lists -> Lists -> Edit list "API id".  The list id you use will be the list in which the new subscriber is added

ASP code to add a subscriber
<%
'ASP Sample CI API Call
'build URL of person to insert
email = "email@email.com"
firstname = "API2"

url = "http://clients.criticalimpact.com/api/api.cfm"
url = url & "?ci=<criticalimpact><login><username>USERNAME_HERE</username>"
url = url & "<password>PASSWORD_HERE</password></login>"
url = url & "<command><action>subscriberadd</action>"
url = url & "<listid>LISTID_HERE</listid>"
url = url & "<email>" & email & "</email>"
url = url & "<firstname>"& firstname & "</firstname>"
url = url & "<unsubscribe>0</unsubscribe>"
url = url & "</command></criticalimpact>"


Set conn = Server.CreateObject("MSXML2.ServerXMLHTTP")
        conn.open "GET", url, False, "", ""
        conn.send
        WholePage = conn.ResponseText
        Response.Write (WholePage)
        
%>

Please make sure to URLEncode your data.