From ae3cbf4f79d65205b836465ea1197f0df040936e Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Mon, 7 Jun 2021 11:46:47 +0530 Subject: [PATCH] chore: Expose contact identifier in API (#2391) --- app/views/api/v1/models/_contact.json.jbuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/api/v1/models/_contact.json.jbuilder b/app/views/api/v1/models/_contact.json.jbuilder index 95d761e10..a3088f965 100644 --- a/app/views/api/v1/models/_contact.json.jbuilder +++ b/app/views/api/v1/models/_contact.json.jbuilder @@ -4,6 +4,7 @@ json.email resource.email json.id resource.id json.name resource.name json.phone_number resource.phone_number +json.identifier resource.identifier json.thumbnail resource.avatar_url json.custom_attributes resource.custom_attributes json.conversations_count resource.conversations_count if resource[:conversations_count].present?