Create an API in API builder to define a request, add the steps that run your logic, and return a response. Creating the API sets its name, version, and integration, and opens the API builder canvas with a request and two responses ready to configure. For what the canvas contains, see API builder overview.
Prerequisites
You need the Manage permission on the integration or the Administrator role on the account. See Manage account and integration permissions.
Create an API
- Go to Build
, and then select APIs.
- Select Create API.
- Under How would you like to build the API?, select API builder.
- Enter a Name for your API, such as "Get a chocolate".
- (Optional) Enter a Description.
- Enter the Version. The default is v1. The version is part of the API's URI:
https://api.integrator.io/apis/<version>. - Under Integration, select Create new integration or Add to existing integration.
- If you selected Add to existing integration, select the integration in Select integration.
- Select Save & next.
The API opens in API builder with an API request, a Response picker, a Success response, and an Error response.
To create an API in JavaScript, see Build a JavaScript API.
Next steps
- Configure the API request.
- Configure the API response.
- Test and debug your API using API builder.
- Invoke an API and API limits.
To change the name, description, or version later, see Configure advanced API settings. To find, clone, or delete your APIs, see Manage APIs.