¿Qué define un sistema moderno de gestión del talento? 10 características esenciales
Descubra información valiosa: ¡regístrese ahora en nuestros próximos webinars!

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 –

  1. Download and install Git Bash from https://git-scm.com/ to run cURL commands
  1. Download and install cURL for your operating system from https://curl.haxx.se/download.html
  1. URL for Active Users – https://yourcompany.clay.net/rm/resource/
  2. Set Request type – GET
  3. Get Authorization Access token from User Profile (also called accesskey):
  1. Set HTTP Header Authorization: (key-value pair)
    a. Authorization: {“accessKey”: “ZGVtbzpiMmZkODJhOTdjM2I0MjZlOGVmODI5NjUXXXXXXXXXXXX”}
    b. Content-Type: application/json
  2. Create your cURL command to get the active users:
  1. JSON Request using curl in Git Bash:
  1. JSON Response received:
  1. To copy the JSON response directly to a .json file
  1. .json file created in Users folder

Regístrese para los próximos webinars