Skip to main content

Create a Plan App

A Plan App is an embedded Hootsuite app that exposes an HTTP API so Planner can browse and open planned posts from your system. Hootsuite calls your service; your service returns JSON that matches the Planned Content contract in the Apps API OpenAPI spec.

Monday.com Plan App

Monday.com Plan App

Step 1: Create the app and open the API contract​

1.1: Developer account and Plan app type​

  1. Sign up or sign in at the Hootsuite Developers portal.
  2. Create an app and add an embedded app of type Plan (or the equivalent in the portal).
  3. Save the app. You will use this app’s settings for OAuth and for the base URL of your Planned Content API.

1.2: Planned Content OpenAPI​

  1. In the API reference, open the Apps API specification and locate the Planned Content operations.
  2. Implement GET /v1/planned-content to match that contract (path, query parameters, response models, JSON field names).

Minimum surface area:

PiecePurpose
GET /v1/planned-contentPlanner loads and refreshes content
data[]Array of PlannedContentItem objects
meta.cursorOpaque next-page token (omit when there is no next page)
meta.isSearchableSet true if you honor the query parameter

Step 2: Configure OAuth 2.0 (manual step after app creation)​

After the Plan app exists, the developer portal requires manual configuration of OAuth 2.0. This links Hootsuite to the external platform that holds your content (CMS, DAM, spreadsheet product, etc.).

2.1: Requirement on the external platform​

The system you integrate with must support OAuth 2.0 (authorization server, client credentials and/or authorization code flow as required by Hootsuite’s app settings, token endpoint, etc.). If the platform cannot issue and refresh OAuth 2.0 access tokens, it cannot be used as the OAuth-backed connection for this integration as configured in the portal.

2.2: What you configure in the developer portal​

Typical steps (exact labels may vary by portal version):

  1. Open your app → OAuth 2.0 (or Authentication) settings.
  2. Enter your content platform’s OAuth client values (for example client ID and client secret) and endpoints (authorization URL, token URL) as prompted.
  3. Some scopes may be needed.
  4. Copy the redirect URL provided to you and add it to your platform's app setting.

2.3: How this relates to your Planned Content API​

  • OAuth establishes trust and access between Hootsuite and the content platform.
  • Your GET /v1/planned-content implementation should use the bearer token (passed in from the planned-content call) when calling the content platform’s APIs.

Step 3: Implement GET /v1/planned-content​

3.1: Route and response​

  • Method: GET
  • Path: /v1/planned-content (under the base URL you configure for the app)
  • Response: Content-Type: application/json with UTF-8 JSON.

Response shape (conceptual):

{
"data": [ /* PlannedContentItem */ ],
"meta": {
"cursor": "optional-opaque-string",
"isSearchable": true
}
}

3.2: Query parameters​

ParameterRequiredDescription
startDateNoStart of planning window (commonly YYYY-MM-DD).
endDateNoEnd of planning window.
parentIdNoAbsent: top-level items (often folders). Present: children inside that parent (often posts).
cursorNoPagination cursor from the previous meta.cursor.
queryNoSearch string; use when meta.isSearchable is true.

3.3: Items: folders vs planned content​

Use mediaType on each PlannedContentItem:

mediaTypeTypical role
folderUser opens it; next request uses parentId = that item’s id.
plannedContentA planned post (copy, dates, attachments, links per schema).

Populate id, name, body, permalink, dates, attachments, and links according to the OpenAPI model so cards and detail views render correctly.

3.4: Pagination​

  1. When more results exist, set meta.cursor to an opaque string (opaque to Hootsuite).
  2. Hootsuite sends that value back as the cursor query parameter.
  3. Omit meta.cursor when there is no next page.

3.5: Operational health check (optional)​

A separate GET /health (or similar) returning 200 is useful for load balancers; it is not part of the Planned Content OpenAPI surface.


Step 4: Deploy, attach URL, and submit​

4.1: Deploy​

  1. Host your service on HTTPS with a stable DNS name.
  2. Ensure GET /v1/planned-content is reachable from the public internet.

4.2: Configure the app URL​

In the developer portal, set the Plan app extension's service URL to match how you route requests (so that /v1/planned-content resolves correctly).

4.3: Test and submit​

  1. Run through OAuth connect in a test org as a real user would.
  2. In Planner, confirm folders drill-down, posts load, and pagination/search behave as expected.
  3. Submit the app for approval when listing requirements and the API contract are satisfied.