Hi Mathews,
API KEY goes into the request header, see below code.
Best,
.m
HTTPClient http
http = CREATE HTTPClient
http.SetRequestHeader("Authorization","Bearer <<<<< API KEY GOES HERE >>>>>>")
http.SetRequestHeader("Accept","application/json")
http.SetRequestHeader("Content-Type","application/json")
String ls_data = "<<<< YOUR PAYLOAD HERE >>>>>"
If http.SendRequest("POST", "https://someserver.com/api/endpoint", ls_data) = 1 Then
If http.GetResponseStatusCode() = 200 Then // 202 if asynchronous
// OK
end if
end if