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": "1a61b19f-a8a5-4931-9725-b70992f03c4a",
      "created_at": "2025-01-24T22:40:41+00:00",
      "updated_at": "2025-01-24T22:40:41+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": "c66eea31-05df-431d-b4f6-8aedb347ad00",
      "returnable_type": "plan",
      "returnable_uuid": "c5f32890-f167-4437-a411-6164a63d3e8d",
      "lookupable_value": "J Bloggs Plan",
      "returnable_value": "example"
    }
  ]
}