LogoLogo
  • Table of Contents
  • 📖Learn About Empuls
    • What is Empuls?
    • How Empuls Works?
    • Why Use Empuls?
    • What's New In Empuls?
  • 📌Getting Started for Admins
    • Sign Up For Empuls
    • Add Teammates
      • Add Users in Bulk
    • Set Up Awards & Core Values
    • Set Up Budgets for Awards
    • Set Up Automated Greetings
    • Communications & Gifts
    • White-Labeling
      • Email Whitelisting
    • Add In-House Catalog Item
    • Add Money to Empuls Wallet
    • Measure Employee Engagement
    • Connect Through Groups
    • Integrations
      • Single Sign On
        • Azure AD
      • HR Management Systems
        • UKG Pro
        • JustLogin
        • Namely
        • Zoho People
        • Gusto
        • Freshteam
        • Keka
        • Darwinbox
        • Greyt HR
        • Bamboo HR
        • SAP SuccessFactors
        • Page 1
        • PeopleStrong
        • Other HRMS (SFTP)
      • Microsoft Teams
      • Slack
      • Other Integrations
    • Engagement Resources
  • Feed Settings
  • 🎨Getting Started for Users
    • Log in to Empuls
    • Introduce Yourself to Others
    • Update Your Profile
    • Connect Through Groups
    • Appreciate Your Teammates
    • Share on LinkedIn
    • Give Award Nominations
    • Review Award Nominations
    • Gather 360° Feedback
    • Ace The Leaderboard
    • Manage Your Budgets
    • Redeem Your Earned Points
    • Create Support Ticket
  • 🔓Privacy and Security
    • Empuls Privacy Policy
    • Information Security Policy
    • Terms of Use
    • Security Related FAQs
    • 📄Certificates and Compliance Documents
    • User Access Settings
    • Cancellations & Refund Policy
      • User Management
    • Shipping & Delivery Policy
      • Add Users to Empuls
    • Terms & Conditions for Loan
      • Add Users in Bulk
  • 🛠️ Platform Settings
    • User Access Settings
      • User Management
      • Access Controls
      • User Authentication
    • Rewards & Recognition Settings
      • Awards, Values & Gifts
        • Manage Awards
        • Manage Core Values
        • Set up Gift / Send Gift
        • Revoke Awards or Gifts
        • Cost of Living Factor and Multi - wallet.
      • Automations
        • Automated Greetings
      • Automated Budgets
      • In house Catalog
      • Manage Org. Budgets
        • Organizational R&R Budget
        • Add Money to Wallet
    • Billing & Customization
      • Branding & Customization
      • Subscription & Billing
      • Business Information
    • Notification Settings
    • Other Settings
      • Manage Leaderboard
      • Data
  • Integration
    • HR Management Systems
      • UKG Pro
      • JustLogin
      • Namely
      • Zoho People
      • Gusto
      • Freshteam
      • Keka
      • Darwinbox
      • Greyt HR
      • Bamboo HR
      • SAP SuccessFactors
      • Workday
      • PeopleStrong
      • HiBob
      • Other HRMS (SFTP)
    • Miscellaneous Integrations- Linkedln, GIPHY.
    • Collaboration Apps
      • Microsoft Teams
      • Slack
  • 💬Groups
    • Introduction to Groups
    • How To Use Groups
    • Create/Delete Groups
    • Manage Group Members
    • Manage Group Settings
  • 🏆Awards & Recognitions
    • Introduction to Awards
    • Give Awards
    • Approve Nominations
    • Jury Panel based Approvals
    • Leaderboard
    • Certificates
  • 💰Budgets
    • Introduction to Budgets
    • 💰My Budgets
    • Manage Organization Budgets
      • Manage Organizational R&R Budget
  • 📜Surveys
    • My Surveys
      • 360° Feedback for Employees
      • HR Surveys for Admins
    • Org Surveys
      • eNPS Survey
      • Employee Pulse Survey
      • Custom Pulse Survey
      • Interpreting the Pulse Survey Results
      • Recommended Action Items to Improve eNPS
        • Strategic Alignment With the Employees
        • Hygiene Factors at Work
        • Relationships and Culture at Work
        • Recognition and Growth at the Organization
  • ❓Quizzes
    • Get started with Quizzes
  • 👥User Account
    • User Profile
    • Account Statement & Order History
    • Settings
  • 💸 Reward Store
    • Redeem Points
  • 💰Instant Credit
    • Instant Credit
      • 💸Perks & Benefits
        • Terms & Conditions For Instant Credit
  • 📈Reports
    • Live Status Dashboard
    • R&R Dashboard
    • Data Reports
  • 💼Resources
    • FAQs
    • Empuls Product Updates
      • May 2023
      • March 2023
      • February 2023
      • January 2023
    • Employee Engagement Ideas
      • Fun Contests, Ideas and Badges
        • Employee Appreciation Ideas
        • Groups to Create on Empuls
    • Diwali Greetings Resources
    • Women's Day Resources
    • Perks & Discounts Promotion Kit
    • Launch Communication Kit
    • MS Teams App Promotion Kit
    • 🖥️Empuls Software Development Kit
    • 📩Postman Collection
    • Privacy and Security
Powered by GitBook
On this page
  • Empuls v1 API
  • 📄 Introduction
  • 🔖 How to use this collection
  • Authentication
  • Authentication
  • Services
  • Appreciation
  • Gifting
  • Webview
  • Reporting
  • UserProfile
  • Feeds

Was this helpful?

  1. Resources

Postman Collection

Empuls v1 API

📄 Introduction

Empuls API is a simple way to access Empuls internal APIs without requiring the user to go through to the web interface. At its core for authentication empuls uses OAuth 2.0 which allows API clients to access protected resources on behalf of a user without requiring the user's credentials. This document describes the API and its usage.

🔖 How to use this collection

  • Use the EmpulsAPI v1 postman environment.

  • Enter base_url variable. This is usually the URL of the Empuls portal. ie. https://abc.xoxoday.com

  • Enter the credentials provided by empuls team in client_id, client_secret, refresh_token variables.

  • Enter the email of the user you want to use the services as in the as_user variable.

  • Save the environment using ctrl+s or cmd+s.

  • Run the Authentication/Company Access Token endpoint to generate access_token. This access_token will be automatically used in the Services APIs


Authentication

The Empuls OAuth authentication flow consists of the following steps:

  • The empuls internal team will generate and share the Client ID, Client Secret, and Refresh Token with the user.

  • Use the given credentials to fetch Access Token using the /chef/v1/oauth/token/company endpoint

  • Send the Access Token in the Authorization header as Bearer for all the Sevices API

  • Send the email of the person you want to access the resources in as_user header.

You must include Authorization and as_user request header in each request to the Empuls API.

Point to note :

  • The access token will be valid for 1 day

  • The refresh token will be valid for 60 days

  • Each time an Access token is generated, the Refresh token expiration date is extended 60 days from that time

In this collection, we store Access Token/Hash and other variables in the environment and automatically use them as necessary.

Authentication error response

If an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.

503 response

An HTTP 503 response from our servers indicates there is an unexpected spike in API access traffic. The server is usually operational within the next five minutes.

AuthorizationBearer TokenToken{{access_token}}

Authentication

This endpoint lets users generate Access Token to use for authentication

AuthorizationBearer TokenThis folder is using an authorization helper from the collection Empuls v1 API

POSTGet Company Access Token

Gets information about the authenticated user.

Bodyraw (json)json

{
    "client_id": "{{client_id}}",
    "client_secret":"{{client_secret}}",
    "refresh_token":"{{refresh_token}}",
    "grant_type":"refresh_token"
}

Services

Services Collection contains all the available services accessible via API

AuthorizationBearer TokenThis folder is using an authorization helper from the collection Empuls v1 API

Appreciation

AuthorizationBearer TokenThis folder is using an authorization helper from the collection Empuls v1 API

POSTSend Award

{
    "award_id":"id of the award",
    "recipients":["user1@test.com","user2@test.com"],
    "citation_message":"citation message for the award",
    "points": 0,
    "budget_id":"id of the budget from which the points will be deducted",
    "group_id":"id of the group where the feed will be posted"
}

POSTSend Appreciation

{
    "hashtag":"#AppreciationName",
    "recipients":["user1@test.com","user2@test.com"],
    "citation_message":"citation message for the award",
    "group_id":"id of the group where the feed will be posted"
}

Gifting

AuthorizationBearer TokenThis folder is using an authorization helper from collection Empuls v1 API

POSTSend Gift

{
    "gift_id":"id of the gift",
    "recipients":["user1@test.com","user2@test.com"],
    "condition":"optional use instead of recipients. sending both will result in error",
    "points":0
}

Webview

AuthorizationBearer TokenThis folder is using an authorization helper from collection Empuls v1 API

GETWebview

Reporting

AuthorizationBearer TokenThis folder is using an authorization helper from collection Empuls v1 API

POSTAward Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-04-21",
    "end_date": "2020-05-21",
    "timezone": "+05:30",
    "sorting": "fdc:desc",
    "filters":"{}"
}

POSTBudget Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-04-21",
    "end_date": "2020-05-21",
    "timezone": "+05:30",
    "filters":"{}"
}

POSTBudget Transaction

{
    "limit":10,
    "offset":0,
    "start_date":"2023-01-07",
    "end_date":"2020-02-06",
    "timezone":"+05:30",
    "filters":"{}"
}

POSTConversation Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-07",
    "end_date": "2023-02-06",
    "timezone": "+05:30",
    "sorting": "cat:desc",
    "filters":"{}"
}

POSTCore Value Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "filters":"{}"
}

POSTGift Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "sorting": "fed:desc",
    "filters":"{}"
}

POSTLeaderboard Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "filters":"{}"
}

POSTLogin Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "filters":"{}"
}

POSTNomination Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "sorting": "days_since:asc",
    "filters":"{}"
}

POSTRedemption Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "sorting": "fdc_utc:desc",
    "filters":"{}"
}

POSTReward Point Expiry Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "sorting": "date_created:desc",
    "filters":"{}"
}

POSTSurvey Reports

{
    "limit": 10,
    "offset": 0,
    "start_date": "2023-01-08",
    "end_date": "2023-02-07",
    "timezone": "+05:30",
    "filters":"{}"
}

UserProfile

AuthorizationBearer TokenThis folder is using an authorization helper from collection Empuls v1 API

POSTFetch User Profile

{
    "fields": [
        "high_priority_actions",
        "survey_quiz_invites",
        "my_profile",
        "notifications",
        "awards_achievements_received",
        "award_approval_requests"
    ],
    "limit": 10,
    "offset": 0
}

Feeds

AuthorizationBearer TokenThis folder is using an authorization helper from collection Empuls v1 API

POSTFetch Feeds

{
    "group_id":"1686164069300-ecbd6cd6-d061-40ad-b35d-1da72568262d",
    "type": ["appreciate","awards"],
    "fetch_pinned_posts_only": true,
    "limit": 10,
    "offset": 0
}
PreviousEmpuls Software Development KitNextPrivacy and Security

Last updated 1 year ago

Was this helpful?

{{base_url}}/chef/v1/oauth/token/company

{{base_url}}/chef/api/sdk/award.mutation.sendAwardAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIRequest Headersas_user{{as_user}}Bodyraw (json)json

{{base_url}}/chef/api/sdk/award.mutation.sendAppreciationAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIRequest Headersas_user{{as_user}}Bodyraw (json)json

{{base_url}}/chef/api/sdk/gift.mutation.sendGiftAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIRequest Headersas_user{{as_user}}Bodyraw (json)View Morejson

{{base_url}}/chef/api/webview?authorization={{access_token}}&as_user={{as_user}}&landing_page=appreciation&timestamp={{timestamp}}&hash={{hash}}Query Paramsauthorization{{access_token}}as_user{{as_user}}landing_pageappreciationtimestamp{{timestamp}}hash{{hash}}

{{base_url}}/chef/api/sdk/admin_reports.query.award_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.budget_points_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.budget_transactions_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.conversation_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.corevalue_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.gift_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.leaderboard_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.engagement_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.nomination_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.redemption_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/admin_reports.query.point_expiry_queryAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/insightReport.query.getSurveyDataListAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

{{base_url}}/chef/api/sdk/profile.query.getProfileAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)View Morejson

{{base_url}}/chef/api/sdk/feed.query.getFeedAuthorizationBearer TokenThis request is using an authorization helper from collection Empuls v1 APIBodyraw (json)json

💼
📩
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request
Open Request