NFT
Wallets
Data Transformations
- Data Transformations Overview
- Filter Data Sources
- Filters
- Workflows
Chains
- Overview
- Solana
- Bitcoin
- Ethereum
- Polygon
- Arbitrum
- Base
- Optimism
- Oasys
- Monad Testnet
Deep Dives
Create a New Workflow
Create a new workflow by specifying the description, filter, data source, and data destination
POST
/
api
/
v1
/
streams
/
data-management
/
workflows
curl --request POST \
--url https://api.allium.so/api/v1/streams/data-management/workflows \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"description": "<string>",
"filter_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data_source_config": {
"type": "PUBSUB",
"topic": "<string>"
},
"data_destination_config": {
"type": "PUBSUB",
"topic": "<string>",
"subscription": "<string>",
"delivery_type": "PULL",
"webhook_url": "<string>"
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"filter_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data_source_config": {
"type": "PUBSUB",
"topic": "<string>"
},
"data_destination_config": {
"type": "PUBSUB",
"topic": "<string>",
"subscription": "<string>",
"delivery_type": "PULL",
"webhook_url": "<string>"
},
"external_workflow_id": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.allium.so/api/v1/streams/data-management/workflows \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"description": "<string>",
"filter_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data_source_config": {
"type": "PUBSUB",
"topic": "<string>"
},
"data_destination_config": {
"type": "PUBSUB",
"topic": "<string>",
"subscription": "<string>",
"delivery_type": "PULL",
"webhook_url": "<string>"
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"filter_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data_source_config": {
"type": "PUBSUB",
"topic": "<string>"
},
"data_destination_config": {
"type": "PUBSUB",
"topic": "<string>",
"subscription": "<string>",
"delivery_type": "PULL",
"webhook_url": "<string>"
},
"external_workflow_id": "<string>"
}