Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

feat: get contact by id endpoint

Open tapiarafael opened this issue 6 months ago • 3 comments

Proposed changes (including videos or screenshots)

Implemented a new endpoint to retrieve contact info by id.

[GET] api/v1/omnichannel/contacts.get?contactId=123 response example:

{
	"contact": {
		"_id": "123",
		"name": "john doe",
		"emails": [
			"[email protected]"
		],
		"phones": [
			"1-658-751-2622"
		],
		"contactManager": "321",
		"customFields": {},
		"unknown": false,
	},
	"success": true
}

Issue(s)

Steps to test or reproduce

Further comments

SCI-36

tapiarafael avatar Aug 13 '24 19:08 tapiarafael