People
Get person by id
Authorization
ApiKey AuthorizationBearer <token>
In: header
Path Parameters
personId*string
Response Body
application/json
application/json
application/json
curl -X GET "https://api.trainfog.com/developers/v1.0/people/string"{
"id": "677c5d5b4e8f4c0a8b5f0c7a",
"workspace": "688893ebd804d8588b1afbe0",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com",
"phone": "+15555550123",
"company": "688893ebd804d8588b1afbe0",
"status": "New",
"stage": "Lead",
"source": "web_form",
"consents": [
{
"type": "newsletter",
"granted": true,
"updatedAt": "2019-08-24T14:15:22Z",
"method": "web_form",
"ip": "192.168.0.1",
"userAgent": "string"
}
],
"traits": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"error": "Unauthorized"
}{
"error": "Not found"
}