Fetch Many

Get the results/statuses of multiple tasks using their task_id.

POST https://api.apiframe.pro/fetch-many

Headers

NameValue

Content-Type

application/json

Authorization*

Your APIFRAME API Key

Body

NameTypeDescription

task_ids*

[string]

The task id of the tasks, min 2 and max 20

Response

{ 
    tasks: [
        // An array of results/statuses
    ]
}

Code samples

const axios = require('axios');
let data = JSON.stringify({
  "task_ids": [
    "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a",
    "71cfa6bd-f0d2-4f0c-b11d-56f256fc55a4",
    "8274fd0f-259b-42e3-af07-4ac6d4ab7c6e"
  ]
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api.apiframe.pro/fetch-many',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': 'YOUR_API_KEY'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

Last updated