Retrieve a lookup
Try to find a Lookup value for a specific type.
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
GET
/api/v1/lookups/{type}/{lookup}
curl \
-X GET https://api.plannrcrm.com/api/v1/lookups/type/lookup \
-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": "b296a4c0-218c-426e-8d0e-66cc85d8a95d",
"created_at": "2025-01-21T09:11:13+00:00",
"updated_at": "2025-01-21T09:11:13+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": "652d08cb-115b-4785-b2b4-43ce6c7e8f27",
"returnable_type": "plan",
"returnable_uuid": "db9bae95-2241-444c-a374-f7ca73db736e",
"lookupable_value": "J Bloggs Plan",
"returnable_value": "example"
}
]
}