Insites Docs Instance APICustom API EndpointsCreating a Custom API Endpoint

Creating a Custom API Endpoint

Last updated on March 24, 2026.

To create a Custom API Endpoint:

  1. Navigate to API from the main menu.
  2. Select Custom API Endpoints.
  3. Select CREATE API ENDPOINT.
  4. Fill out the forms across the following tabs sequentially:
    • Details
    • Body
    • Security
    Select NEXT when you are done filling out a form. Input requirements and descriptions are discussed in the corresponding sections below.
  5. Select CREATE API ENDPOINT.

Details

Use this tab to provide the basic details of your Custom API Endpoint.

Input LabelTypeRequiredDescription
API Endpoint NameInput FieldYesName of your endpoint.
SlugInput FieldYesSlug assigned to the endpoint.
File PathInput FieldYesFile path generated for the endpoint.
Request MethodDropdown FieldYesRequest method used by the endpoint. The following options are available:
  • GET
  • PUT
  • POST
  • PATCH
  • DELETE
Redirect toInput FieldNoSlug to which API users are redirected.
Redirect CodeDropdown FieldNoRedirect code used by the endpoint. The following options are available:
  • 301 - Moved Permanently
  • 302 - Moved Temporarily

Body

Use this tab to provide the content of your Custom API Endpoint.

Input LabelTypeRequiredDescription
BodyCode EditorYesThe main content of your endpoint.

Security

Use this tab to configure the security settings of your Custom API Endpoint.

Input LabelTypeRequiredDescription
Security TypeRadio GroupNoThe type of security used by your endpoint. The following options are available:
  • None
  • Authorization Policies
Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.