Supercharge HR with AI for instant, scalable support and time-saving automation.
Learn More
!
The Platform
Core Platform
Employee Records
Real-time Analytics
Ask HR
All Solutions
Core HCM
Employee Self Service
Time & Attendance
Leave Management
Expense Tracking
Asset Management
Compensation Management
Performance
Performance Reviews
Check-ins
Feedback & Kudos
Smart Goals
Objectives & Key Results
Talent Acquisition
Recruitment/ATS
Onboarding
Employee Workflow
Talent Management
Career Planning
Skill Management
Training & Development
PS Automation
Workforce Planning
Why ClayHR
Our Mission
The Problem We Solve
Who We Help
Extensible By Design
Robust Data Integrations
Testimonials
Testimonials
Media
Customers
Awards
Case Studies
Resources
Resources
Mobile Apps
Blog
Knowledge Base
HR Glossary
Open API
Get Started
Book a Demo
Request Pricing
Become an Expert
FAQs
White Papers
Webinars
Certified Program
Company
About Us
Contact us
Our Mission
Careers
The Platform
Core HCM
Employee Self Service
Time & Attendance
Leave Management
Expense Tracking
Asset Management
Performance
Performance Reviews
Check-ins
Feedback & Kudos
Smart Goals
Objectives & Key Results
Talent Acquisition
Recruitment/ATS
Onboarding
Employee Workflow
Talent Management
Career Planning
Skill Management
Training & Development
PS Automation
Workforce Planning
Why ClayHR
Our Mission
The Problem We Solve
Who We Help
Extensible by Design
Testimonials
Testimonials
Media
Customers
Awards
Resources
Mobile Apps
Blog
Knowledge Base
Webinars
White Papers
Pricing
Request a Demo
English
Spanish
Unlock valuable insights – Register for our upcoming webinars now!
How to Get Active Users list from ClayHR API using cURL in Git Bash
To Get Active Users list from ClayHR API using cURL in Git Bash
Follow the following steps to get the Active Users list using cURL in Git Bash –
Download and install Git Bash from
https://git-scm.com/
to run cURL commands
Download and install cURL for your operating system from
https://curl.haxx.se/download.html
URL for Active Users –
https://
yourcompany
.clay.net/rm/resource/
Set Request type –
GET
Get Authorization Access token from User Profile (also called
accesskey
):
Set HTTP Header Authorization:
(key-value pair)
a. Authorization: {“accessKey”: “ZGVtbzpiMmZkODJhOTdjM2I0MjZlOGVmODI5NjUXXXXXXXXXXXX”}
b. Content-Type: application/json
Create your
cURL command
to get the active users:
JSON Request using curl in Git Bash:
JSON Response received:
To copy the JSON response directly to a .json file
.json file created in Users folder
Register for Upcoming Webinars
Explore More Webinars