Partner API
Clients
Get single client
Retrieve details for a specific client
get/{partnerId}/clients/{clientId}
Request
- Base URL: https://us-central1-sutra-prod.cloudfunctions.net/partnerApi/v0
- URL: https://us-central1-sutra-prod.cloudfunctions.net/partnerApi/v0/{partnerId}/clients/{clientId}
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
partnerIdstring required
Example:partner123
Partner identifier
clientIdstring required
Example:client123
Client identifier
Response
Successful response
Example response
{
"item": {
"id": "client123",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"phone": "+1234567890",
"created_at": "2024-03-20T12:00:00Z",
"updated_at": "2024-03-20T12:00:00Z",
"date_of_birth": "1990-01-01",
"gender": "male"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.