cURL
curl --request GET \ --url https://api.trata.ai/v1/prospects/{prospect_id} \ --header 'Authorization: Bearer <token>'
{ "id": "pro.1731301754.OZSMSU1S", "orgId": "org.1726902940.GZChqlpU", "name": "Hari", "phoneNumber": "96260-12778", "externalReference": [], "status": "SERVICE_ORDER_PLACED", "prospectProps": {}, "createdBy": "trata-system", "createdAt": "2024-11-11T05:09:14.979287", "updatedBy": "trata-system", "updatedAt": "2024-11-11T05:09:14.979289" }
Get a Specific Prospect by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the prospect
Prospect retrieved successfully
Prospects are the potential customers for business
Show child attributes
External service provider name
1 - 512
"Google Analytics"
External service identifier
"GA-123456"
Props for the external reference
"abcdefg"