Public REST API

Create API clients so your own systems can read data from Noon.

Create an API client so your own systems can read data from Noon.

#How it works

Each API client has a client ID, a secret, and scopes. View organization lets a client read your organization's name and domain. To request a scope that isn't listed, chat with the Noon team.

A client exchanges its ID and secret for an access token that lasts 1 hour and carries the client's scopes. Client changes are recorded in the Audit log.

#Test a connection from your own system

Before a script or tool relies on Noon, test the connection. The call only reads, so a mistake in the setup changes nothing in Noon.

Public REST API page with a list of API clients and the Create API client button
  1. #Open the Public REST API page

    Go to Integrations and click Public REST API.

    Integrations page with the Public REST API card
  2. #Create the client

    Click Create API client. Type a name under Name, select the scopes the system needs under Scopes, for example View organization, then click Create.

    Create API client dialog with a name field and the View organization scope
  3. #Save the secret

    Noon shows the secret once. If you lose it, rotate the secret.

    Copy the Client ID and Client secret, then click I've saved it.

    Save your client secret dialog showing the client ID and client secret
  4. #Call the API

    Send a POST to https://app.noon.security/api/oauth/token with the client ID as the username and the secret as the password in an HTTP Basic header, and grant_type=client_credentials in the body. Add scope to ask for fewer scopes than the client holds. Send the returned access_token as a bearer token to GET /api/public/v1/organization.

    The call returns your organization's id, name, and domain.

    The full requests are in the API reference: Get access token and Get organization. You can also click View API docs on the Public REST API page.

#Shut off a system's access

When a secret leaks or a tool is retired, click ⋯ on the client row. Give each system its own client so you can cut off one without breaking the others.

Client row menu with Edit, Rotate secret, and Delete
  • Rotate secret: for a leak. The old secret stops working at once.
  • Delete: for a retired tool. Last used shows which clients nobody uses.
  • Edit: change the name or scopes. Tokens already issued keep their old scopes until they expire.

Deleting a client cuts off every system that uses it. This can't be undone.