Create Subscription
🚧 Early Access API Version This endpoint version is currently in Early Access and available only to approved early adoption (EA) participants. Do not rely on this version for production workloads unless explicitly authorized. If you have any feedback, please share with your designated Early Adoption program representative.
Summary Description
Creates a new webhook subscription, allowing clients to receive real-time event notifications from the Paylocity platform. Clients specify the event types they want to subscribe to and provide a secure endpoint URL to which Paylocity will send event payloads. Webhook subscriptions created through this endpoint allow external systems to stay in sync with changes to employee data, assignments, compensation, and more.
Request
- Base URLdc1demogwext.paylocity.com (relative, and the document’s source URL is not known)
- URLdc1demogwext.paylocity.com/apiHub/webhooks/v1/subscriptions
- AuthHTTP bearer
Headers
Authorization token. Ex. Bearer ...
Request body
Example request
{
"name": "Employee Updates Subscription",
"auth": {
"type": "hmac"
},
"url": "https://my-app.example.com/webhooks/paylocity"
}Response
Created
Example response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "ACTIVE"
}Changes
No recorded changes to this operation across all 1 revision of this API.