Overview
You’ve recently received StackOne access and want to initiate your first call using our . As an introduction to the StackOne Unified API, you’ve tested account connection through the StackOne Dashboard. Now, you want to integrate a specific provider into your existing application and test the integration. In this guide, you will learn how to:- List Applications for a Greenhouse Account
- Get a Specific Contact from a HubSpot Account
- Create an Employee in a BambooHR Account
Prerequisites
- API Key created in StackOne Dashboard and copied to a secure location
- Basic Authentication Setup - Learn how to properly authenticate with StackOne API using your API key
- Required provider integration enabled
- Account linked successfully
- (Optional) Use an SDK or Postman
Getting Account ID
- Specify the request type, URL, and API Key in the Authorization section (append to the header). example:
Authentication Required: Your API key must be base64 encoded for Basic authentication. See the Basic Authentication Guide for detailed instructions on encoding your API key.
- To filter results by a specific provider account (e.g., Greenhouse), define the
providers
parameter:
- From the
/accounts
API call response, copy theid
value.
ATS: List Applications in Greenhouse
- Specify the List Applications URL and header details using the account ID from the previous step:
Note: Replace
your_greenhouse_account_id_here
with the actual ID value from the /accounts
API call response-
The response will contain a collection of existing applications with crucial data including:
- Application ID
- Candidate ID
- Job ID
- Location ID
- Status
- Created and Updated timestamps
- (Optional) Use the data from the previous step to create new applications by making POST requests via the API.
CRM: Get Contact in HubSpot
- First, list all contacts to see the available contacts:
- Select the required contact from the contacts collection and copy its ID.
- Get a specific contact by including the contact ID in the URL path:
- The response will contain all available data for the specified contact, including:
- First Name, Last Name
- Company Name
- Email(s)
- Phone Number(s)
- Associated Account ID
- Created and Updated timestamps
HRIS: Create Employee in BambooHR
- First, get a list of existing employees to see the structure:
- Create a new employee using a POST request with the same URL and headers:
- Specify employee details in the request body, for example:
-
Upon successful creation, you’ll receive a 🟢
201 Status Code
with the message “Record created successfully” and its timestamp. - (Optional) To verify the record creation, use the Employee ID returned in the response to get the specific employee: