Adding a new endpoint
Last updated
Last updated
Before a connector can be used (i.e. before for use in ) you must add at least one endpoint. The steps and settings required will vary depending on which type of endpoint you're adding, and how you want it to behave - general steps can be found below.
Step 1 Click the add new endpoint button:
Step 2 You're prompted to enter a name, and to select an entity type:
...enter a name for this endpoint and select the appropriate entity type from the dropdown list:
Step 3 Click the create button. Basic details are saved and the manage endpoint page is displayed:
This page is split into upper and lower panes - endpoint details at the top and endpoint setup in the lower panel.
Step 4 In the top endpoint details panel, use dropdown options to set the direction as required:
This determines the direction that data associated with this endpoint will flow:
Choose receive if you will be pulling (i.e. receiving) data for this endpoint - typically these endpoints are associated with a GET http method.
Choose send if you will be pushing (i.e. sending) data to this this endpoint - typically these endpoints are associated with PUT, POST, PATCH or DELETE http methods.
For any endpoint, the following options are available:
The name is displayed to users when configuring s in , so it's advisable to be as clear as possible about what this endpoint does. For example, an endpoint defined to retrieve all products might be named: 'List all products'.
Step 5 Use the lower endpoint setup panel to update as required for the new endpoint - options are available over a series of 'metro stop' tabs:
These determine the experience your users will have when they choose to add a to a and associate it with an instance of this connector, using this endpoint.
Step 6 Having completed all required configuration for this authentication method, click next to complete the setup. Your new connector is now available in the , so users associated with your company profile can add of it.
Choose which apply for this endpoint.
For more information about working with authentication settings, please see the page.
For more information about working with these variables, please see the page.
Define the HTTP method and URL for authentication, and any required URL parameters. You can define default parameters which are always applied to requests, and optional filters which your users can define when working with this endpoint in .
For more information about working with URL parameters, please see the page.
For more information about working with headers, please see the page.
For more information about working with body parameters, please see the page.
For more information please see the page.
Add a schema for this endpoint, so Patchworks knows what data structure to expect and which fields to make available for instances of this connector in .
For more information, please see the page.