This section shows you how to create an endpoint from an API definition file by submitting an
application/json request. If instead you'd like to submit a
multipart/form-data request to create an endpoint, see Make a form request to register an endpoint from an API definition file.
If you don't already have the obligatory
groupIdmembers, run the List contracts and groups operation.
Select the appropriate pairing of contract and group under which you want to provision the new endpoint. Store the
Build an ImportFile object, specifying the
importFileFormat, and the
importFileSource. Depending on the
importFileSource, specify either the
POST the object to
The response Endpoint object reflects the newly created endpoint based on your API definition file. You can access the newly created endpoint at the URL specified in the
Location response header.