Apis::V4::PeopleSearch API

search people in specific organizations

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
q search string, the system will try to search by first and last name, or email address if you include a '@'
limit max number of people to return. Defaults to 10.
organization_ids (optional) only look in these organizations
fields hash of fields you want for model types. the person type will default to these fields: first_name,last_name,gender,primary_email_address. But you could request picture if you want to receive that as well.

Request

Headers

Version: HTTP/1.0
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNzcsImV4cCI6MTcwNDQ3MzIzNywiaWF0IjoxNzA0NDczMDU3fQ.KNxzXw4RpUTAi70MYNW8VnClxxPZeXvtkqoid23Bc1c
Host: example.org
Cookie: 

Route

GET /apis/v4/search?q=Ultr&organization_ids=142%2C140&limit=10

Query Parameters

q=Ultr
organization_ids=142,140
limit=10

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNzcsImV4cCI6MTcwNDY0NTg1OCwiaWF0IjoxNzA0NDczMDU4fQ.qwRzL7DO-rpU__qZJAxRe25sbGqaZtgfiZHDO5oQvRo
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"20591599e3d58cb5d5c8bc1a57009e5d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 67d541a7-79ae-4405-b989-583d7bbf728e
X-Runtime: 0.074309
Content-Length: 3042

Status

200

Body