Search

Search across multiple object types

Performs a text search across jobs, companies, and materials. Returns combined results sorted by relevance.

get/search.json

Request

  • Base URL
    https://api.servicem8.com/api_1.0
  • URL
    https://api.servicem8.com/api_1.0/search.json
  • Auth
    • API key in header X-Api-Key
    • or OAuth 2
      Authorization code: https://api.servicem8.com/oauth/authorize
      Token URL: https://api.servicem8.com/oauth/access_token

Query parameters

qstring required
Example:plumbing repair

Search query string

limitinteger

Maximum number of results to return (max 50)

Response

Search results

querystring required

The search query that was used

countinteger required

Number of results returned

Example response

{
  "results": [
    {
      "type": "job"
    }
  ]
}

Changes

No recorded changes to this operation across all 50 revisions of this API.