Product Update

Use the Search API to Search On Behalf of Someone Else

Carlyn Manly
2018-02-17
1 Min Read

It 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-4meAccount: 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-4meAccount: widgetโ€ โ€œhttps://api.4me.com/v1/search?per_page=10&q=how%20to%20access%20wifi&on_behalf_of=tom.waters@widget.comโ€

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