API reference › Requests › Provider portal
Retrieve paginated provider requests with optional filters
GET /v1/portal/provider/requests
- Scope
requests:read- Roles
- service-provider
Fetch a paginated list of provider request assignments. Allows filtering, searching, and sorting. Each item adds myTime and myConvertedTime: the provider's own covered hours on that occurrence when they hold only part of a partial-coverage job ('12:00 PM to 4:00 PM', separate runs joined with ', '), null otherwise. startTime/endTime keep the whole job's range.
Parameters
Query parameters
| Name | Type | Description |
|---|---|---|
search | string | Search keyword |
columns | string | Comma-separated list of searchable columns |
sortBy | string | Column to sort by Example |
sortOrder | string | Sort order One of: |
perPage | integer | Items per page Example |
page | integer | Page number to retrieve Example |
locationType | string | Filter by location type One of: |
duration | integer | Filter by duration |
distance | string | Filter by distance (e.g., '5 miles') |
serviceTypes | array of integer | Filter by service type IDs |
client | string | Filter by client |
status | string | Filter by assignment status One of: |
startDate | string (date) | Example |
endDate | string (date) | Example |
clientType | string | Filter by the Client Type column. Hyphenated spellings (single-location) match too. One of: |
partialCover | boolean | Filter by the Partial Cover column: true for work items that allow partial coverage, false for those that do not. Example |
requestSource | string | Filter by the Request Source column (origin of the request). One of: |
startTime | string (time) | Filter requests whose scheduled time range overlaps this start time (HH:MM:SS). Pairs with endTime; an overnight range (startTime later than endTime) is handled as spanning midnight. Example |
endTime | string (time) | Filter requests whose scheduled time range overlaps this end time (HH:MM:SS). Pairs with startTime. Example |
localSearch | string | The table's own search box: matches only the columns named in |
Every call also sends Authorization and X-Tenant-ID; see Getting started.
Example request
curl "https://api.fetchfido.ai/v1/portal/provider/requests" \
-H "Authorization: Bearer $FIDO_API_KEY" \
-H "X-Tenant-ID: $FIDO_TENANT_ID"Try it
Responses
200 Success
Success
{
"success": true,
"data": [
{
"id": "ASG-DYKTKO",
"assignmentName": "Assignment 4",
"clientType": null,
"providers": [
"2 Deaf",
"2 Hearing"
],
"startDate": "9/12/2025",
"endDate": "9/12/2025",
"startTime": "12:00 PM",
"endTime": "1:00 PM",
"duration": null,
"locationType": "Hybrid",
"address": {
"onsite": {
"title": null,
"onSiteType": "manual",
"address": {
"addressLine1": "asas",
"addressLine2": "asas",
"city": "Austin",
"state": null,
"postalCode": "151545"
}
},
"remote": {
"remoteAccessDetails": {
"url": "http://zoom.us/test",
"notes": null,
"meetingPlatform": "Zoom"
}
}
},
"distance": "5.2 miles",
"serviceTypes": [
{
"id": 1,
"label": "ASL"
}
],
"partialCoverage": false,
"estimatePay": 0,
"scheduleType": "one_time",
"update": null,
"status": "Pending",
"notesFromScheduler": null
}
],
"meta": {
"currentPage": 1,
"lastPage": 1,
"perPage": 10,
"total": 4
}
}Response fields (34)
3 top-level fields; 2 hold nested fields, listed below.
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
data | array of object (27 nested) | |
meta | object (4 nested) |
Nested fields
data 27 fields
| Field | Type | Description |
|---|---|---|
data[].id | string | Example |
data[].assignmentName | string | Example |
data[].clientType | string or null | |
data[].providers | array of string | |
data[].startDate | string | Example |
data[].endDate | string | Example |
data[].startTime | string | Example |
data[].endTime | string | Example |
data[].duration | integer or null | |
data[].locationType | string | Example |
data[].address | object | |
data[].address.onsite | object | |
data[].address.onsite.title | string or null | |
data[].address.onsite.onSiteType | string | Example |
data[].address.onsite.address | object | |
data[].address.remote | object | |
data[].address.remote.remoteAccessDetails | object | |
data[].distance | string | Example |
data[].serviceTypes | array of object | |
data[].serviceTypes[].id | integer | Example |
data[].serviceTypes[].label | string | Example |
data[].partialCoverage | boolean | Example |
data[].estimatePay | number | Example |
data[].scheduleType | string | Example |
data[].update | string or null | |
data[].status | string | Example |
data[].notesFromScheduler | string or null |
meta 4 fields
| Field | Type | Description |
|---|---|---|
meta.currentPage | integer | Example |
meta.lastPage | integer | Example |
meta.perPage | integer | Example |
meta.total | integer | Example |
400 Bad request
Bad Request
{
"success": false,
"message": "Failed to retrieve.",
"errors": {
"search": [
"Invalid search parameter"
]
}
}Response fields (3)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | object |
401 Not signed in
Missing, invalid or expired API key.
{
"success": false,
"message": "Invalid API key. Org and user tier keys must send an X-Tenant-ID header naming the organization the key was issued for.",
"errors": null,
"code": "API_KEY_MISSING"
}Response fields (4)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | any or null | Null on this status. |
code | string | Machine-readable reason, for branching on in client code. One of: |
403 Not allowed
Scope, tenant, IP allow-list or RBAC check failed.
{
"success": false,
"message": "You don't have permission to access this endpoint. This API key is missing the 'requests:read' scope.",
"errors": null,
"code": ""
}Response fields (4)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | any or null | Null on this status. |
code | string | Always empty on this status. Example |
429 Too many requests
Rate limit exceeded. See Retry-After.
{
"success": false,
"message": "You've exceeded this API key's rate limit of 120 requests per minute. Try again in 37 seconds.",
"errors": null,
"code": "RATE_LIMITED"
}Response fields (4)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | any or null | Null on this status. |
code | string | Machine-readable reason, for branching on in client code. One of: |
500 Server error
Server Error
{
"success": false,
"message": "Something went wrong!",
"errors": "Unexpected error occurred"
}Response fields (3)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | string or null | Null in production. The exception message only when the application runs with debug on. Example |