List resources
curl --request GET \
--url https://api.monid.ai/v1/resources \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.monid.ai/v1/resources"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.monid.ai/v1/resources', 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.monid.ai/v1/resources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.monid.ai/v1/resources"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.monid.ai/v1/resources")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monid.ai/v1/resources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"resourceId": "<string>",
"provider": "<string>",
"resourceSlug": "<string>",
"resourceType": "<string>",
"externalId": "<string>",
"identifier": "<string>",
"releasable": true,
"state": "READY",
"provisionedBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"providerName": "<string>",
"displayName": "<string>",
"description": "<string>",
"summary": "<string>",
"releasedBy": "<string>",
"renewal": {
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"renewLead": {
"unit": "<string>",
"count": 123
},
"startedAt": "2023-11-07T05:31:56Z",
"currentPeriodStart": "2023-11-07T05:31:56Z",
"currentPeriodEnd": "2023-11-07T05:31:56Z",
"renewAttemptAt": "2023-11-07T05:31:56Z",
"cycle": 123,
"lastAttempt": {
"at": "2023-11-07T05:31:56Z",
"outcome": "SUCCEEDED",
"reason": "<string>"
},
"cancelledAt": "2023-11-07T05:31:56Z"
},
"releasedAt": "2023-11-07T05:31:56Z",
"releaseReasonCode": "<string>",
"releaseReason": "<string>",
"phoneNumber": "<string>",
"country": "<string>",
"numberType": "<string>",
"name": "<string>",
"totalBytes": 123,
"objectCount": 123,
"lastMutationAt": "2023-11-07T05:31:56Z",
"expiresAt": "<string>",
"ttl": 123,
"activityTtl": 123,
"profileId": "<string>",
"profileSaveChanges": true,
"liveViewUrl": "<string>",
"interactiveLiveViewUrl": "<string>",
"cdpUrl": "<string>",
"baseUrl": "<string>",
"targetUrl": "<string>",
"timeoutSeconds": 123,
"liveUrl": "<string>",
"timeoutMinutes": 123,
"title": "<string>",
"fileSize": 123,
"freeTier": true,
"config": {},
"maxConversationMinutes": 123,
"agentId": "<string>",
"sessionToken": {},
"ratePerMinuteUsd": 123,
"mustEndBy": "<string>",
"proxyCountryCode": "<string>",
"externalResources": [
{
"kind": "<string>",
"displayName": "<string>",
"label": "<string>"
}
],
"syncedAt": "2023-11-07T05:31:56Z",
"usageBilling": {
"rateCard": [
{
"label": "<string>",
"ratePerUnit": 123,
"per": "<string>"
}
]
}
}
],
"cursor": "<string>"
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}Resources
List resources
Lists the workspace’s resources, newest first, with cursor pagination. A resource is something you own at a provider, such as a phone number. Filter by provider, resourceType or state, where resourceType needs provider. By default only top-level resources are listed. Pass includeChildren=true to list every resource in one flat page, or a resource id as parent to list only its children.
GET
/
v1
/
resources
List resources
curl --request GET \
--url https://api.monid.ai/v1/resources \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.monid.ai/v1/resources"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.monid.ai/v1/resources', 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.monid.ai/v1/resources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.monid.ai/v1/resources"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.monid.ai/v1/resources")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monid.ai/v1/resources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"resourceId": "<string>",
"provider": "<string>",
"resourceSlug": "<string>",
"resourceType": "<string>",
"externalId": "<string>",
"identifier": "<string>",
"releasable": true,
"state": "READY",
"provisionedBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"providerName": "<string>",
"displayName": "<string>",
"description": "<string>",
"summary": "<string>",
"releasedBy": "<string>",
"renewal": {
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"renewLead": {
"unit": "<string>",
"count": 123
},
"startedAt": "2023-11-07T05:31:56Z",
"currentPeriodStart": "2023-11-07T05:31:56Z",
"currentPeriodEnd": "2023-11-07T05:31:56Z",
"renewAttemptAt": "2023-11-07T05:31:56Z",
"cycle": 123,
"lastAttempt": {
"at": "2023-11-07T05:31:56Z",
"outcome": "SUCCEEDED",
"reason": "<string>"
},
"cancelledAt": "2023-11-07T05:31:56Z"
},
"releasedAt": "2023-11-07T05:31:56Z",
"releaseReasonCode": "<string>",
"releaseReason": "<string>",
"phoneNumber": "<string>",
"country": "<string>",
"numberType": "<string>",
"name": "<string>",
"totalBytes": 123,
"objectCount": 123,
"lastMutationAt": "2023-11-07T05:31:56Z",
"expiresAt": "<string>",
"ttl": 123,
"activityTtl": 123,
"profileId": "<string>",
"profileSaveChanges": true,
"liveViewUrl": "<string>",
"interactiveLiveViewUrl": "<string>",
"cdpUrl": "<string>",
"baseUrl": "<string>",
"targetUrl": "<string>",
"timeoutSeconds": 123,
"liveUrl": "<string>",
"timeoutMinutes": 123,
"title": "<string>",
"fileSize": 123,
"freeTier": true,
"config": {},
"maxConversationMinutes": 123,
"agentId": "<string>",
"sessionToken": {},
"ratePerMinuteUsd": 123,
"mustEndBy": "<string>",
"proxyCountryCode": "<string>",
"externalResources": [
{
"kind": "<string>",
"displayName": "<string>",
"label": "<string>"
}
],
"syncedAt": "2023-11-07T05:31:56Z",
"usageBilling": {
"rateCard": [
{
"label": "<string>",
"ratePerUnit": 123,
"per": "<string>"
}
]
}
}
],
"cursor": "<string>"
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}Query Parameters
Filter by provider slug (e.g. 'saperly').
Available options:
apify, pdl, opoint, tikhub, exa, minimax, bytedance, suzanne, akta, saperly, apollo, censusdata.xyz, defillama, sfs, semrush, elevenlabs, octen, mint, context.dev, surf, agentmail, ahrefs, tinyfish, firecrawl, massive, hunterio, contactout, reversecontact, clay, alibaba, mrscraper, fundable, fundmomentum, ploid, smolmachine, kling, recall, gemini, tendata, openai, vaquill, litescrape, crawl4ai, typesafe, dataforseo, orbit, linkedpulse, cloro, topaz, search1api, magichour, agentline, keenable, datalegion, channel3, anyapi, fishaudio, serpapi, stepfun, twitterdata.io, tavily, appfigures, browseruse, heygen, appllama, parallel, lev8, velabreakout, meshy, tripo, vyra, rocketpunch, lob, agentweb, jinko, everyinfra, scrapecreators, outbound.dev, fuseai, videonest, rentahuman Filter by resource type — requires provider (store SK prefix is ordered).
Available options:
web_monitor, phone_number, file_system, asset_library, machine, email_account, email_inbox, email_domain, browser_session, browser_profile, voice, tracked_app, agent_session, video_channel, video, voice_agent, voice_conversation, human_task