Add a new organization

Individual devices and groups can be consolidated within a single organization. Once you configure an organization and associate any devices or groups, you can then centrally manage those devices and groups at the organization level.

The rest of this guide shows you how to use the Surfsight API to add a new organization, following these steps:

  1. Authenticate yourself.
  2. Create an organization.

For more information about the different API requests, take a look at our reference guide.

1. Authenticate yourself

Authenticate yourself before making any calls with the Surfsight API. For more details on authentication, see our authentication overview.

2. Create an organization

Create an organization with the POST /organizations call.

    curl --request POST
    --header 'Content-Type: application/json'
    --header 'Authorization: Bearer {token}'
    --data-raw '{

      "name": "Missouri fleet"

The organizationID is returned in this call. Save this ID to use in other calls. You can also get the ID again from the GET /organizations request.