Skip to main content

Set up an Org App

This guide describes how to set up and configure a Hootsuite Organization App to allow delegated access over the organization in Hootsuite. After app linking is completed by Hootsuite, your app will be able to:

  • Create new tokens at any time
  • Have full access control of all social media accounts shared to the organization

Step 1: Get your App ID​

This initial step involves creating your application to obtain the foundational credentials needed for the system-level linkage.

1.1: Create a Hootsuite App​

  1. Create a Developer Account
  2. Once approved, create an app in your developer portal

1.2: Retrieve the App ID (appId)​

  1. In your Developer Portal dashboard, select the app
  2. You can find the appId in the appId parameter of the browser URL.
    • Example: https://hootsuite.com/dashboard#/app-directory/developers/app/**<your_app_id>**/my-app

Step 2: Get the Organization ID​

You need the unique identifier for the Hootsuite organization that will grant delegated access to your application.

  1. Navigate to your Manage accounts and teams page.
  2. Select Teams for your organization.
  3. You can find the organization ID in the id query parameter in your browser's address bar.
    • Example: https://hootsuite.com/dashboard#/organizations/teams/?id=<your_organization_id>

Step 3: Get your Member ID​

You need the unique identifier for the Hootsuite organization that will grant delegated access to your application.

  1. Navigate to your Manage accounts and teams page.
  2. Select Members for your organization, and select your name.
  3. You can find the member ID in the memberid query parameter in your browser's address bar.
    • Example: https://hootsuite.com/dashboard#/organizations/members/?memberId=<your_member_id>

Step 3.1: Add the member to your org and assign it Admin permissions​

  1. Navigate to your Manage accounts and teams page.
  2. Select Members for your organization, and select Invite Members just below the Find member search bar.
  3. Invite with email address

To complete the setup for delegated access, you must formally request the link from the Development Support Team via their ticketing system.

  1. Contact us here
  2. In the request, include the following information:
    • The appId you retrieved in Step 1.2.
    • The organization ID you retrieved in Step 2.
    • The member ID of the non-paying admin member (from the account created in step 3.1).
  3. Wait for the Development Support Team to link your app to your organization and provide confirmation.

Step 4: Retrieve Your Delegated Access Token​

Once the Development Support Team confirms the organization-to-app linkage, you will use the Hootsuite OAuth 2.0 Token endpoint to retrieve a persistent access token. This token represents the delegated authority and is used for API calls without requiring individual user OAuth.

Using the oauth2Token Endpoint​

Make a POST request to the OAuth2 Token endpoint using a specific grant type that enables organization-level delegation (often referred to as client credentials or similar delegated flow).

You will need to use your application's Client ID and Client Secret (retrieved in Step 1.1) along with the Organization ID (retrieved in Step 2) and the Member ID (of the non-paying admin from Step 3).

ParameterValueSourceDescription
grant_type(Specific to Delegated Access)API Docs/SupportThe grant type that permits organizational delegation.
client_idCLIENT_IDStep 1.1The public identifier for your application.
client_secretCLIENT_SECRETStep 1.1The secret key for your application.
member_idMEMBER_IDStep 3The member ID of the delegated user to act as (the non-paying admin).
organization_idORGANIZATION_IDStep 2The organization ID linked in Step 3.

The response will contain the organization's Access Token, which can then be used in subsequent API requests to act on behalf of users within that linked organization.

Step 5: Test the Token Request with the curl Command​

Following the confirmation of your organization-to-app linkage, you can now execute the POST request to the Hootsuite OAuth 2.0 Token endpoint to retrieve the persistent delegated access token.

This step utilizes the parameters outlined in Step 4, specifically using the member_app grant type, which allows an application to act on behalf of a member (the non-paying admin) within a specific organization.

🔑 The curl Command Structure​

The command will use HTTP Basic Authentication for your Client Credentials (Client ID:Client Secret) and pass the grant_type, member_id, and organization_id in the request body.

Command Parameters:

Basic auth

  • Client ID: client_id
  • Client Secret: client_secret

Request body

  • Organization ID: organization_id
  • Grant Type: organization_app
  • Scope (optional): analytics:read for analytics and publishing access, or omit for default offline scope (publishing only)
curl -X POST \
-u "client_id:client_secret" \
-d "grant_type=organization_app&organization_id=organization_id" \
"https://platform.hootsuite.com/oauth2/token"

✅ Expected Response​

A successful request (HTTP 200 OK) will return a JSON object containing your access token:

{
"access_token": "YOUR_DELEGATED_ACCESS_TOKEN",
"token_type": "Bearer",
"expires_in": 2592000,
"scope": "offline"
}

The value of "access_token" is the delegated access token you will use as the Bearer token in the Authorization header for all subsequent Hootsuite API calls related to this organization. If you included the analytics:read scope in your request, the response will reflect that scope instead of the default offline scope, granting you access to both analytics and publishing capabilities.