HomeREST APIREST API

REST API

Access the core entities in Interact through the REST API, with worked examples for authentication and common tasks.

The REST API gives programmatic access to the core entities in Interact — people, pages, content and more. This section explains how the API works and walks through common tasks; the full endpoint list lives in the API Reference.

What you can do

Use the REST API to read and change data in Interact from your own applications and scripts: retrieve the people directory, work with pages and content, manage calendar events, and integrate Interact into wider workflows. If you want Interact to notify you when something happens rather than polling for changes, see Webhooks.

How requests work

Every request is made over HTTPS to your intranet's API domain and must be authenticated. In outline:

  • You obtain a bearer token by exchanging an API key and secret created in Control Panel > Security.
  • Each request sends that token in an Authorization: Bearer {{access_token}} header, along with an X-Tenant header identifying your tenant.
  • Requests and responses use JSON.

Note: The authentication method varies between Interact's APIs. The key-and-secret flow described here applies to the REST API; profile sources and Workplace Search connectors authenticate differently. For the credential each API uses and how to send it, see Authentication overview. Full endpoint-level authentication details will live in the API Reference.

To find the tenant and API URL your requests need, start with How to get API information.

Worked examples

Next steps

Section: REST API