Skip to main content
POST
POST /v1/apiCollections

Create an API Collection

Create a new API collection within an API service.

Body Parameters

string
required
Name of the API collection. Must be unique within the parent API service.
string
required
Fully qualified name of the parent APIService (e.g., sample_api_service).
string
Base URL for the API collection (e.g., https://petstore3.swagger.io/#/pet).
string
Human-readable display name for the API collection.
string
Description of the API collection in Markdown format.
array
Array of owner references (users or teams) to assign to the API collection.
string
Fully qualified name of the domain to assign for governance purposes.
array
Array of classification tags to apply to the API collection.
object
Custom property values defined by your organization’s metadata schema.
POST /v1/apiCollections

Returns

Returns the created API collection object with all specified properties and system-generated fields.

Response

string
Unique identifier for the API collection (UUID format).
string
API collection name.
string
Fully qualified name in format service.collectionName.
string
Human-readable display name.
string
Description of the API collection in Markdown format.
string
Base URL for the API collection.
object
Reference to the parent API service.
string
Type of API service (e.g., Rest).
array
List of owners assigned to the API collection.
array
Domain assignments for governance.
array
Classification tags applied to the API collection.
object
Custom property values defined by your organization’s metadata schema.
number
Version number for the entity (starts at 0.1).

Create or Update (PUT)

Use PUT /v1/apiCollections instead of POST to perform an upsert. If an API collection with the same fullyQualifiedName already exists, it will be updated; otherwise, a new API collection is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.

Bulk Create or Update (PUT)

Use PUT /v1/apiCollections/bulk to create or update multiple API collections in a single request. The request body is an array of create request objects.

Error Handling