Retrieve single person
This endpoint retrieves a specific person.
HTTP Request
GET https://api.lunatask.app/v1/people/<id>
URL Parameters
Parameter | Description |
---|---|
id | The ID of the person to retrieve |
Example in Ruby
require 'rest-client'
access_token = 'xxx'
RestClient.get('https://api.lunatask.app/v1/people/5999b945-b2b1-48c6-aa72-b251b75b3c2e', { Authorization: "bearer #{access_token}" })
Response
The above command returns JSON structured like this:
{
"person": {
"id": "5999b945-b2b1-48c6-aa72-b251b75b3c2e",
"relationship_strength": "business-contacts",
"sources": [
{
"source": "salesforce",
"source_id": "352fd2d7-cdc0-4e91-a0a3-9d6cc9d440e7"
}
],
"created_at": "2021-01-10T10:39:25Z",
"updated_at": "2021-01-10T10:39:25Z"
}
}