Get all lookups

GET /api/v1/lookups

Query parameters

  • Filter by a comma separated list of UUIDs.

  • Filter by a comma separated list of lookup types.

  • sort string

    Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC. Defaults to 'created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/lookups
curl \
 -X GET https://api.plannrcrm.com/api/v1/lookups \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "type": "provider_statement_mapping",
      "uuid": "0527be76-263b-4fa9-a22a-be2b33d2739d",
      "created_at": "2025-01-17T11:18:33+00:00",
      "updated_at": "2025-01-17T11:18:33+00:00",
      "return_json": {
        "key_1": "value_1",
        "key_2": "value_2"
      },
      "lookup_value": "zAbWeFVJ:Bloggs J",
      "return_float": 70.35,
      "return_string": "Consectetur officia labore",
      "lookupable_type": "provider",
      "lookupable_uuid": "dacd1dd6-da66-476b-808c-d5aafca2662e",
      "returnable_type": "plan",
      "returnable_uuid": "6ba50d00-9fe0-46fc-ab1f-6c2f3539dffe",
      "lookupable_value": "J Bloggs Plan",
      "returnable_value": "example"
    }
  ]
}