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:
Note
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 https://api-prod.surfsight.net/v2/organizations
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {token}'
--data-raw '{
"name": "Missouri fleet"
}'
Note
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.