Skip to content

Create Feed

POST
/api/v1/workspaces/{workspace_id}/feeds

Creates a new feed.

workspace_id
required
integer

Workspace ID

object
name
required
string
Example
My Feed
url
required
string
Example
https://example.com
request_method
required
string
Example
get
parameters
required
Array<object>
object
label
required
string
name
required
string
headers
required
Array<object>
object
key
required
string
value
required
string
fields
required
Array<object>
object
key
required
string
value
required
string

Successful

object
id
required
integer
Example
12345
name
required
string
Example
My Feed
url
required
string
Example
https://example.com
request_method
required
string
Example
get
parameters
required
Array<object>
object
label
required
string
name
required
string
headers
required
Array<object>
object
key
required
string
value
required
string
fields
required
Array<object>
object
key
required
string
value
required
string
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z
updated_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}