Ana içeriğe atla

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example

Request Body Fields

EnumHttpRequestMethod

  • GET - GET method
  • POST - POST method
  • PUT - PUT method
  • DELETE - DELETE method
  • PATCH - PATCH method
  • OPTIONS - OPTIONS method
  • HEAD - HEAD method
  • TRACE - TRACE method
  • ALL - All methods

Response

Success Response (200 OK)

Response Fields

Error Response (400 Bad Request)

Common Causes

  • API Proxy is not REST type (SOAP proxies don’t support manual endpoint creation)
  • Endpoint name and HTTP method combination already exists
  • Missing required fields (name, httpMethod, backendResourceUrl, backendHttpMethod)
  • Invalid HTTP method values

Error Response (401 Unauthorized)

Error Response (404 Not Found)

cURL Example

Example 1: Create GET Endpoint

Example 2: Create POST Endpoint

Example 3: Create Endpoint with Different Backend Method

Permissions

User must have API_MANAGEMENT + MANAGE permission in the project.

Notes and Warnings

  • REST Only: Endpoints can only be added to REST API proxies. SOAP endpoints are defined in the WSDL
  • Unique Combination: The combination of name and httpMethod must be unique within the API proxy
  • Default Active: New endpoints are created with active: true by default
  • Backend URL: The backendResourceUrl can be a relative path or absolute URL