Docs

Add Location

POST /Organizations/{organizationId}/locations

POST/Organizations/{organizationId}/locations

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Creates a new location within the organization.

Requires OrganizationAdmin permission.

Path Parameters

FieldTypeRequiredDescription
organizationIdGuidRequiredThe organization to add the location to.

Request Body

FieldTypeRequiredDescription
namestringRequiredDisplay name for the location.
descriptionstringOptionalOptional description of the location.
typeIdGuidOptionalOptional location type to assign on create. Must belong to the same organization.

Response

Returns the new location's id as a JSON Guid string.