Apis::V4::PeopleSearch API

search people in all of my 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.eyJ1c2VyX2lkIjoxNDcsImV4cCI6MTc1NDU5NjQ4NywiaWF0IjoxNzU0NTk2MzA3fQ.wOhSlR2xgEC_UZJcjfC4w-sD524A8C3UFyh2TFu7Xao
Host: example.org
Cookie: 

Route

GET /apis/v4/search?q=Ultr

Query Parameters

q=Ultr

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.eyJ1c2VyX2lkIjoxNDcsImV4cCI6MTc1NDc2OTEwNywiaWF0IjoxNzU0NTk2MzA3fQ.1FE8jbeWb-IDXvwGJZCbMYsJC4OlUXUAzxWZotlXR88
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"45e2c41f47d9aa42ec66b30da8945031"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7845a03a-848b-49f7-82ca-d35a42e83db7
X-Runtime: 0.063733
Content-Length: 3042

Status

200

Body