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": "4134e756-e5cb-4f95-9ca3-d837907bfba4",
      "created_at": "2024-11-20T13:24:04+00:00",
      "updated_at": "2024-11-20T13:24:04+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": "7ba1fc67-19e1-484a-9ad5-eca9afcf4bf7",
      "returnable_type": "plan",
      "returnable_uuid": "72f6fd14-067b-4f46-b5f1-489c0892a28b",
      "lookupable_value": "J Bloggs Plan",
      "returnable_value": "example"
    }
  ]
}