Flows
get
Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
Responses
200
Ok
application/json
get
/multicall/flowsGET /multicall/flows HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200
Ok
{
"success": true,
"message": "text",
"data": [
{
"version": 1,
"user_id": "text",
"updated_at": "text",
"nodes": "text",
"name": "text",
"id": "text",
"edges": "text",
"description": "text",
"created_at": "text"
}
]
}post
Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
Body
namestringRequired
descriptionstringRequired
created_atstringRequired
idstringRequired
updated_atstringRequired
user_idstringRequired
Responses
200
Ok
application/json
post
/multicall/flowsPOST /multicall/flows HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 319
{
"name": "text",
"description": "text",
"nodes": [
{
"id": "text",
"type": "action",
"data": {
"userFunctionName": "text",
"condition": "text",
"params": null,
"function": "text",
"wrapper": "text"
}
}
],
"edges": [
{
"id": "text",
"source": "text",
"target": "text",
"label": "text"
}
],
"created_at": "text",
"id": "text",
"updated_at": "text",
"user_id": "text"
}200
Ok
{
"success": true,
"message": "text",
"data": "text"
}get
Authorizations
AuthorizationstringRequired
Path parameters
flowIdstringRequired
Header parameters
AuthorizationstringRequired
Responses
200
Ok
application/json
get
/multicall/flows/{flowId}GET /multicall/flows/{flowId} HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200
Ok
{
"success": true,
"message": "text",
"data": {
"version": 1,
"user_id": "text",
"updated_at": "text",
"nodes": "text",
"name": "text",
"id": "text",
"edges": "text",
"description": "text",
"created_at": "text"
}
}put
Authorizations
AuthorizationstringRequired
Path parameters
flowIdstringRequired
Header parameters
AuthorizationstringRequired
Body
namestringOptional
descriptionstringOptional
Responses
200
Ok
application/json
put
/multicall/flows/{flowId}PUT /multicall/flows/{flowId} HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 250
{
"name": "text",
"description": "text",
"nodes": [
{
"id": "text",
"type": "action",
"data": {
"userFunctionName": "text",
"condition": "text",
"params": null,
"function": "text",
"wrapper": "text"
}
}
],
"edges": [
{
"id": "text",
"source": "text",
"target": "text",
"label": "text"
}
]
}200
Ok
{
"success": true,
"message": "text",
"data": null
}delete
Authorizations
AuthorizationstringRequired
Path parameters
flowIdstringRequired
Header parameters
AuthorizationstringRequired
Responses
200
Ok
application/json
delete
/multicall/flows/{flowId}DELETE /multicall/flows/{flowId} HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200
Ok
{
"success": true,
"message": "text",
"data": null
}