Endpoint API
Finout’s Endpoint API provides functionalities to query existing endpoints and create new ones effortlessly. You can retrieve a list of current endpoints or create new ones, with all results returned in JSON format for seamless integration and processing.
GET
/Endpoints
GET
/Endpoints
Gets a list of all your account endpoints.
Prerequisites
Generate a Client ID and Secret Key from Finout to add in Headers.
Request
https://app.finout.io/v1/endpoints
Response
Returns a JSON object with the following properties:
type: The endpoint type - email or Slack.
name: The name of the endpoint.
configuration: The Slack or email URL that is configured for the endpoint.
to: The destination address or endpoint for the notification.
createdBy: The creator of the endpoint.
createdAt: The time and date the endpoint was created.
id: The unique identifier of your account's views.
requestId: The ID of this specific request.
POST
/Endpoints
POST
/Endpoints
Creates an email or Slack endpoint in Finout.
Prerequisites
Generate a Client ID and Secret Key from Finout to add in Headers.
Request
https://app.finout.io/v1/cost/query-by-view
Body of Request
type
string
Email or Slack
name
string
The name of the endpoint.
configuration
Object
The address where notifications or messages are sent. to: The destination address or endpoint for the notification.
Note: For MS Teams - All public channels in a Team will automatically mapped to an endpoint ID in Finout.
Response
Returns a JSON object with the following properties:
accountId: The account id of the endpoint.
createdby: The creator of the endpoint.
type: the endpoint type - email or Slack.
name: The name of the endpoint.
configuration: What the endpoint was configured to.
to: The destination address or endpoint for the notification.
createdAt: The time and date the endpoint was created.
updatedAt: The time and date the endpoint was updated.
id: The unique identifier of your account's views.
requestId: The ID of this specific request.
Last updated