Create Endpoint
Changed onAdd a new webhook endpoint to a workspace
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"webhooks_outgoing_endpoint": {
"webhooks_outgoing_endpoint": {
"url": "https://example.com/some-endpoint-url",
"name": "Example Endpoint",
"event_type_ids": [
"contact.identified",
"one-time-order.completed"
],
"page_ids": [],
"funnel_ids": []
}
}
}Response
Created
Example response
{
"id": 5,
"public_id": "GrVNvI",
"workspace_id": 42000,
"url": "https://example.com/some-endpoint-url",
"name": "Example Endpoint",
"event_type_ids": [
"contact.identified",
"one-time-order.completed"
],
"api_version": 2,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"page_ids": [],
"funnel_ids": [],
"webhook_secret_last_four": "c3d4",
"webhook_secret": "3f9a1c7e5b2d4e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0dc3d4"
}Changes
- breaking
the request property
/became not nullable - breaking
the request property
/became not nullable - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
for the
pathrequest parameterworkspace_id, the type was generalized fromintegertostring - info
added
subschema #2to the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking