CRM Leads
Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Body
leadKeystring · nullableOptional
forceByLeadKeybooleanOptional
visitorIdstring · nullableOptional
namestring · nullableOptional
emailstring · nullableOptional
mobilestring · nullableOptional
dialcodestring · nullableOptional
planIdinteger · int32Optional
planNamestring · nullableOptional
billingCyclestring · nullableOptional
subscriptionModestring · nullableOptional
amountnumber · doubleOptional
currencystring · nullableOptional
numUsersinteger · int32 · nullableOptional
numEnvelopesinteger · int32 · nullableOptional
statestring · nullableOptional
partnerReferralCodestring · nullableOptional
clientIpstring · nullableOptional
userAgentstring · nullableOptional
Responses
200
OK
No content
post/api/Public/CrmLeads/upsert
POST /api/Public/CrmLeads/upsert HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 339
{
"leadKey": "text",
"forceByLeadKey": true,
"visitorId": "text",
"name": "text",
"email": "text",
"mobile": "text",
"dialcode": "text",
"planId": 1,
"planName": "text",
"billingCycle": "text",
"subscriptionMode": "text",
"amount": 1,
"currency": "text",
"numUsers": 1,
"numEnvelopes": 1,
"state": "text",
"partnerReferralCode": "text",
"clientIp": "text",
"userAgent": "text"
}200
OK
No content
Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Body
stagestring · nullableOptional
olderThanMinutesinteger · int32Optional
limitinteger · int32Optional
maxAttemptsinteger · int32Optional
Responses
200
OK
No content
post/api/Public/CrmLeads/pending-for-crm
POST /api/Public/CrmLeads/pending-for-crm HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"stage": "text",
"olderThanMinutes": 1,
"limit": 1,
"maxAttempts": 1
}200
OK
No content
Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Body
leadKeystring · nullableOptional
stagestring · nullableOptional
successbooleanOptional
crmLeadIdstring · nullableOptional
errorMessagestring · nullableOptional
Responses
200
OK
No content
post/api/Public/CrmLeads/mark-pushed
POST /api/Public/CrmLeads/mark-pushed HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"leadKey": "text",
"stage": "text",
"success": true,
"crmLeadId": "text",
"errorMessage": "text"
}200
OK
No content
Authorizations
AuthorizationstringRequired
JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.
Body
visitorIdstring · nullableOptional
planIdstring · nullableOptional
subscriptionModestring · nullableOptional
sourcestring · nullableOptional
partnerReferralCodestring · nullableOptional
clientIpstring · nullableOptional
userAgentstring · nullableOptional
Responses
200
OK
No content
post/api/Public/CrmLeads/log-click
POST /api/Public/CrmLeads/log-click HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"visitorId": "text",
"planId": "text",
"subscriptionMode": "text",
"source": "text",
"partnerReferralCode": "text",
"clientIp": "text",
"userAgent": "text"
}200
OK
No content
Last updated
