Skip to main content

Use the Search API to Search On Behalf of Someone Else

SearchIt is now possible search on behalf of someone else using the Search API. You can use the on_behalf_of parameter to specify the person you are searching for.

The value for the on_behalf_of parameter can be:

    • the id of the person
    • the primary email address of the person

Here are two simple CURL examples:

$ curl -u “api-token:x” -X POST -H “X-4me-Account: widget” “https://api.4me.com/v1/search?per_page=10&q=how%20to%20access%20wifi&on_behalf_of=12345”

$ curl -u “api-token:x” -X POST -H “X-4me-Account: widget” “https://api.4me.com/v1/search?per_page=10&q=how%20to%20access%20wifi&[email protected]

This new parameter makes it possible for AI chatbots to retrieve information from 4me on behalf of users who are asking for help in other applications. Detailed information about the Search API can be found in 4me’s online Developer Documentation.