get
https://services.leadconnectorhq.com/users/search
Search Users
Request
Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
enabled2waySync
booleanids
stringList of User IDs to be filtered in the search
Examples:
5DP4iH6HLkQsiKESj6rh,5DP4iH6HLkQsiKESj34h
limit
stringNo of results to be limited before returning the result
Default:
25
Examples:
10
locationId
stringLocation ID in which the search needs to be performed
Examples:
5DP41231LkQsiKESj6rh
query
stringThe search term for the user is matched based on the user full name, email or phone
Examples:
John
role
stringRole of the users to be filtered in the search
Examples:
admin
skip
stringNo of results to be skipped before returning the result
Default:
0
Examples:
1
sort
stringThe field on which sort is applied in which the results need to be sorted. Default is based on the first and last name
Examples:
dateAdded
sortDirection
stringThe direction in which the results need to be sorted
Examples:
asc
type
stringType of the users to be filtered in the search
Examples:
agency
companyId
stringCompany ID in which the search needs to be performed
Examples:
5DP41231LkQsiKESj6rh
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
responses
/
200
users
array[object]id
stringExample:
0IHuJvc2ofPAAA8GzTRi
name
stringExample:
John Deo
firstName
stringExample:
John
lastName
stringExample:
Deo
email
stringExample:
john@deo.com
phone
stringExample:
+1 808-868-8888
extension
stringExample:
permissions
objectscopes
stringAllowed values:
campaigns.readonlycampaigns.writecalendars/events.writecalendars/events.readonlycontacts.writecontacts/bulkActions.writeworkflows.readonlyworkflows.writetriggers.writefunnels.writewebsites.writemedias.writemedias.readonlyopportunities.writeopportunities/leadValue.readonlyopportunities/bulkActions.writereporting/phone.readonlyreporting/adwords.readonlyreporting/facebookAds.readonlyreporting/attributions.readonlyreporting/agent.readonlyreporting/reports.writereporting/reports.readonlypayments.writepayments/refunds.writepayments/records.writepayments/exports.writepayments/subscriptionsCancel.writeinvoices.writeinvoices.readonlyinvoices/schedule.readonlyinvoices/schedule.writeinvoices/template.readonlyinvoices/template.writereputation/review.writereputation/listing.writeconversations.writeconversations.readonlyconversations/message.readonlyconversations/message.writecontentAI.writedashboard/stats.readonlylocations/tags.writelocations/tags.readonlymarketing.writeeliza.writesettings.writesocialplanner/post.writesocialplanner/account.readonlysocialplanner/account.writesocialplanner/category.readonlysocialplanner/category.writesocialplanner/csv.readonlysocialplanner/csv.writesocialplanner/group.writesocialplanner/hashtag.readonlysocialplanner/hashtag.writesocialplanner/oauth.readonlysocialplanner/oauth.writesocialplanner/post.readonlysocialplanner/recurring.readonlysocialplanner/recurring.writesocialplanner/review.readonlysocialplanner/review.writesocialplanner/rss.readonlysocialplanner/rss.writesocialplanner/search.readonlysocialplanner/setting.readonlysocialplanner/setting.writesocialplanner/stat.readonlysocialplanner/tag.readonlysocialplanner/tag.writesocialplanner/filters.readonlysocialplanner/medias.readonlysocialplanner/medias.writesocialplanner/watermarks.readonlysocialplanner/watermarks.writesocialplanner/metatag.readonlysocialplanner/facebook.readonlysocialplanner/linkedin.readonlysocialplanner/twitter.readonlysocialplanner/notification.readonlysocialplanner/notification.writesocialplanner/snapshot.readonlysocialplanner/snapshot.writemarketing/affiliate.writeblogs.writemembership.writecommunities.writecertificates.writecertificates.readonlyadPublishing.writeadPublishing.readonlyprospecting.writeprospecting.readonlyprospecting/reports.readonlyprivate-integration-location.readonlyprivate-integration-location.writeprivate-integration-company.readonlyprivate-integration-company.writenative-integrations.readonlynative-integrations.writewordpress.writewordpress.readcustom-menu-link.writeusers/team-management.writeusers/team-management.readonly
roles
objecttype
stringExample:
account
role
stringExample:
admin
locationIds
array[string]Example:
["ve9EPM428h8vShlRW1KT"]
restrictSubAccount
booleanExample:
true
deleted
booleanExample:
false
lcPhone
objectLC Phone Inbound Phone Numbers
Example:
{"locationId":"+1234556677"}
count
numberExample:
1231
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request