Get Practitioners

Returns a paginated list of HCP (Health Care Professional) practitioner types. Results can be filtered by a free-text search on practitioner name and sorted by name or id. Supports cursor-based pagination.

Endpoint

GET

https://lifeapi.pulsepoint.com/RestApi/v2/meta/practitioners

Query Parameters

NameData TypeRequiredDefaultNotes
searchstringnoFree-text search across practitioner type names
sortENUM stringnoidSort field. Valid values: name, id
limitintegerno50Maximum number of results per page
cursorstringnoOpaque pagination cursor. Pass the next_cursor value from a previous response to get the next page

Sample Request

GET https://lifeapi.pulsepoint.com/RestApi/v2/meta/practitioners?search=Physician&sort=name&limit=50

Response Field List

NameData TypeNotes
successbooleanReturns true on a successful request
messagestringHuman-readable result message
requestIdstringUnique identifier for the request
dataarray of objectsList of practitioner type objects
data.idintegerPractitioner type ID
data.namestringPractitioner type name
paginationobjectPagination metadata
pagination.limitintegerThe page size used for this response
pagination.totalintegerTotal number of records matching the query
pagination.has_morebooleanWhether additional pages of results exist
pagination.next_cursorstringOpaque cursor to pass as the cursor query parameter to retrieve the next page
pagination.next_cursor_urlstringFull URL for the next page of results

Sample Response

{
  "success": true,
  "message": "Operation completed successfully",
  "requestId": "550e8400-e29b-41d4-a716-446655440000",
  "data": [
    {
      "id": 1,
      "name": "Physician"
    }
  ],
  "pagination": {
    "limit": 50,
    "total": 120,
    "has_more": true,
    "next_cursor": "eyJpZCI6MTIzNDU2fQ",
    "next_cursor_url": "/RestApi/v2/meta/practitioners?cursor=eyJpZCI6MTIzNDU2fQ&limit=50"
  }
}

Errors

HTTP StatusErrorDescription
400Validation ErrorInvalid query parameters. sort must be name or id. limit must be a valid integer
401UnauthorizedInvalid or expired access token
429Too Many RequestsRate limit exceeded
500Internal Server ErrorUnexpected server error