Get Employee Details - V2
External
Get Employee Details
Returns detailed information for a specific employee.
POST
Get Employee Details - V2
For field enums, refer the employee details page.Documentation Index
Fetch the complete documentation index at: https://docs.hypersync.tartanhq.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Create a Basic Auth token by base64-encoding username:password
Body
application/json
JWE Compact Serialization string containing a signed payload.
Encryption Flow:
- Construct payload using
EmployeeEncryptedPayloadschema - Convert payload to JSON string and sign it as a JWT (JWS) using RS256 with the client’s private key (
alg: RS256,typ: JWT) - Encrypt the signed JWT using JWE:
alg: RSA-OAEP-256enc: A256GCM- key: Tartan public key
- Send the result as a compact JWE string
JWE Format:
<protected-header>.<encrypted-key>.<iv>.<ciphertext>.<auth-tag>
Example header:
{
"alg": "RSA-OAEP-256",
"enc": "A256GCM",
"cty": "JWT"
}Decryption & Validation (Server-side):
- Decrypt using Tartan private key
- Extract signed JWT (JWS)
- Verify signature using client public key
- Extract and validate original payload
Example:
"eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2R0NNIn0...."
Response
Employee details retrieved successfully

