List activity
Every submission to a provider and every read from it, newest first: what it was, its status, how many attempts it has taken, when the next attempt is due, and the provider’s own reference once it has one. Filter by connectionId or status. Paginated.
curl --request GET \
--url https://api.sandbox.flowpayroll.ai/v1/integrations/operations \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.sandbox.flowpayroll.ai/v1/integrations/operations"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://api.sandbox.flowpayroll.ai/v1/integrations/operations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.flowpayroll.ai/v1/integrations/operations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Auth-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.flowpayroll.ai/v1/integrations/operations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Auth-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.flowpayroll.ai/v1/integrations/operations")
.header("X-Auth-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.flowpayroll.ai/v1/integrations/operations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Auth-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": {
"text": "<string>",
"token": "<string>",
"tokenArguments": [
{
"name": "<string>",
"value": null
}
]
},
"content": {
"data": {
"items": [
{
"id": "<string>",
"organisationId": "<string>",
"connectionId": "<string>",
"providerSlug": "<string>",
"operationType": "<string>",
"status": "None",
"attempts": 123,
"nextAttemptDate": "<string>",
"providerReference": "<string>",
"lastErrorToken": "<string>",
"requestedByService": "<string>",
"completedDate": "<string>",
"createdDate": "<string>",
"updatedDate": "<string>",
"expectedReadyDate": "<string>",
"nextCheckDate": "<string>",
"maxAttempts": 123,
"lastErrorMessage": "<string>",
"importType": "<string>",
"lane": "None",
"issues": [
{
"reference": "<string>",
"code": "<string>",
"message": "<string>",
"noActionNeeded": true
}
],
"issueCount": 123
}
],
"nextPaginationToken": "<string>"
},
"metadata": {
"dateFormat": "<string>",
"dateTimeFormat": "<string>",
"paginationToken": "<string>"
}
},
"validationIssues": [
{
"field": "<string>",
"reason": "<string>",
"reasonToken": "<string>",
"reasonTokenArguments": [
{
"name": "<string>",
"value": null
}
]
}
]
}Authorizations
FlowPayroll JWT (raw token, no Bearer prefix)
Query Parameters
Pending, AwaitingProvider, Succeeded, Failed, NeedsAttention, Cancelled Rows per page. Defaults to 20, maximum 100. A page may contain FEWER rows than this, or none at all, and still not be the last page — read nextPaginationToken, never the row count, to decide whether to continue.
Cursor for the next page, or null when the listing is complete. IMPORTANT: keep following this token while it is non-null, even when items comes back empty. An empty page does NOT mean the end of the list — a filtered query can evaluate a full page of non-matching rows and return none of them, with more matches behind the cursor. Stopping on an empty page silently skips those rows. Tokens are opaque: pass them back unmodified and do not store them long-term.
Was this page helpful?
curl --request GET \
--url https://api.sandbox.flowpayroll.ai/v1/integrations/operations \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.sandbox.flowpayroll.ai/v1/integrations/operations"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://api.sandbox.flowpayroll.ai/v1/integrations/operations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.flowpayroll.ai/v1/integrations/operations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Auth-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.flowpayroll.ai/v1/integrations/operations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Auth-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.flowpayroll.ai/v1/integrations/operations")
.header("X-Auth-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.flowpayroll.ai/v1/integrations/operations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Auth-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": {
"text": "<string>",
"token": "<string>",
"tokenArguments": [
{
"name": "<string>",
"value": null
}
]
},
"content": {
"data": {
"items": [
{
"id": "<string>",
"organisationId": "<string>",
"connectionId": "<string>",
"providerSlug": "<string>",
"operationType": "<string>",
"status": "None",
"attempts": 123,
"nextAttemptDate": "<string>",
"providerReference": "<string>",
"lastErrorToken": "<string>",
"requestedByService": "<string>",
"completedDate": "<string>",
"createdDate": "<string>",
"updatedDate": "<string>",
"expectedReadyDate": "<string>",
"nextCheckDate": "<string>",
"maxAttempts": 123,
"lastErrorMessage": "<string>",
"importType": "<string>",
"lane": "None",
"issues": [
{
"reference": "<string>",
"code": "<string>",
"message": "<string>",
"noActionNeeded": true
}
],
"issueCount": 123
}
],
"nextPaginationToken": "<string>"
},
"metadata": {
"dateFormat": "<string>",
"dateTimeFormat": "<string>",
"paginationToken": "<string>"
}
},
"validationIssues": [
{
"field": "<string>",
"reason": "<string>",
"reasonToken": "<string>",
"reasonTokenArguments": [
{
"name": "<string>",
"value": null
}
]
}
]
}