JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Share
Explore
activecampaign
ĐL
Đức Dũng Lê
Authentication
test đăng nhập bằng curl này
curl -H "Api-Token: YOUR_TOKEN" https://account.api-us1.com/api/3/
thêm vào header mỗi api để xác thực tài khoản
Api-Token: key < nằm ở setting => dev>
add a contact
curl --location --request POST
'https://leducdung149.api-us1.com/api/3/contacts'
\
--header
'Api-Token: e51b01ca6a56c2efa46cdeeb8328290102db20356fd3f4b6d072a7874d686324da1107f2'
\
--header
'Content-Type: application/json'
\
--header
'Cookie: PHPSESSID=cdc81cf536ff710b4b307dea71cf994a; em_acp_globalauth_cookie=0adb6515-68a9-4685-86d0-93d1cfab7412'
\
--data-raw
'{
"contact"
: {
"email"
:
"anhkodo5iqu000@gmail.com"
,
"firstName"
:
"John"
,
"lastName"
:
"Doe"
,
"phone"
:
"0049944224"
,
"fieldValues"
:[
{
"field"
:
"1"
,
"value"
:
"The Value for First Field"
},
{
"field"
:
"6"
,
"value"
:
"2008-01-20"
}
]
}
}
'
https://help.activecampaign.com/hc/en-us/articles/360001969199-Getting-permission-to-send-emails
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.