Webhook Headers
Webhook headers are bits of information sent along with a webhook request, just like a label on a parcel. They help the receiving server understand who sent the request, what kind of data is inside, and sometimes how to verify it’s legit.Header | Description |
---|---|
"content-type":"application/json" | Tells about the format of the data (json, etc.) |
"tartan-signature": "xxxxxxxxx" | Security signature to verify authenticity |
Webhook events
Once you’ve set up your webhook URL via our console or with help from your Tartan SPOC, you’ll start receiving webhook events from Tartan. You can choose which events you’d like to receive from the Webhook Events section. Once configured, Tartan will begin sending only those selected events to your endpoint. Tartan automatically re-triggers all failed webhooks at the end of the day (EOD).
Webhook Key | Description |
---|---|
syncSessionId | Represents the unique sessionID for the sync session associated with this webhook. |
webhookCounter | Security signature to verify authenticity |
requestId | Security signature to verify authenticity |
orgId | Represents the orgID of the corporate associated with this webhook. |
event | Event name |
eventType | Event type |
recordCount | Denotes the total number of employee records in this webhook. |
orgName | Name of the org associated with this webhook. |
hrms | The source HRMS |
status | Event status |
invitedBy | Email of the user who sent the invite. |
acceptedBy | Email of the user who accepted the invite. |
terminatedBy | Email of the user who terminated the connection. |
remote_org_id | An optional unique identifier |
timeStamp | Timestamp of the webhook in UTC |
vendor.orgId | Your organisation ID |
body | Contains employee record data received from the source. |
statusCode | HTTP status code of the webhook call |
newRecords | Represents the expected total number of new records in this session. |
updatedRecords | Represents the expected total number of updates in the existing records in this session. |