Zenler Public API Documentation
With Zenler API you can now integrate your Zenler Account with your external apps, websites, SSO or services.
API Version - v1.0 Published on Dec 14th 2018
For Authentication purposes, your API KEY and the subdomain name of your site needs to be set in the header of all API calls. The header keys that need to be set are given below:
For Example:
Will be in JSON format.
YYYY-MM-DD will be the format of dates.
Errors a user can expect on invalid authentication.
You will receive upto a max 15 items on your responses by default. However, you can increase the limit using the "limit" param in your request.
API calls are restricted to a max of 1000 /min. If you hit the limits, you will receive a 403 error code and an error message "Rate Limited Exceeded" in your response body.
role_ids
2 => Site AdminThe number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1
any users table field like name, last_name, email. Default: created_at
'asc' or 'desc' . Default: 'desc'
get list with search keyword. Searches for first name , last name or email
Response – Returns user's id, first name, last name and email on success.
Applicable only for user from European Country
1=>Accept GDPR consent text
0=>Deny GDPR consent text
Applicable only for user from European Country
1=>Accept GDPR consent text
0=>Deny GDPR consent text
Response – User Details on success
Course ID
Course Plan ID
Course ID
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1
Any courses table field. Default: display_order
'asc' or 'desc' . Default: 'asc'
search for course name
1 - course, 2 = bundle. Default 0 (All list)
1 - Published. 0 - unpublised Default: All
Response – Course details on success
Course Plan ID
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1
Any marketting_funnels table field. Default: created_at
'asc' or 'desc' . Default: 'asc'
search for funnel name
1 - Published. 0 - unpublised Default: All
Response – Users List enrolled in the specified funnel
curl --location --request GET "https://api.newzenler.com/api/v1/funnels/enrollments/%7Bfunnel_id%7D"
Applicable only for user from European Country
1=>Accept GDPR consent text
0=>Deny GDPR consent text
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1
Any live_class table field. Default: created_at
'asc' or 'desc' . Default: 'asc'
search for live class topic
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1
Any live_webinar table field. Default: created_at
'asc' or 'desc' . Default: 'asc'
search for live webinars topic
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
Specify course id
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1, Type: Number
It can be course, day or month. Default: course
Specify course id
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1, Type: Number
Specify course id
Advanced Filter - Specify 1 for advanced filter
String - Coupon ID
String - User ID
String - User ID
String - Affiliate ID
Number 2 (Subscription) or 3 (One time payment) or 4 (Payment plan)
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1, Type: Number
Specify course id
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1, Type: Number
Specify course id
Advanced Filter - Specify 1 for advanced filter
String - Affiliate ID
Number 2 (Subscription) or 3 (One time payment) or 4 (Payment plan)
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1, Type: Number
Specify course id
Specify Affiliate IDs
String - Should be in format YYYY-mm-dd (2018-05-18)
String - Should be in format YYYY-mm-dd (2018-05-18)
The number of items to be returned. Default: 15 , Type: Number
The page within the collection to fetch.Default: 1, Type: Number
Specify course id
Advanced Filter - Specify 1 for advanced filter
String - Affiliate ID
Number 2 (Subscription) or 3 (One time payment) or 4 (Payment plan)