API reference › Providers › Provider portal
Get assignment or shift confirmation popup details
GET /v1/dashboard/provider-portal/assignment-confirmation-popup/{tab}
- Scope
providers:read- Roles
- service-provider
Returns the next assignment or shift requiring service provider confirmation, including time until start and service type.
Parameters
Path parameters
| Name | Type | Description |
|---|---|---|
tab required | string | Tab from which the popup is requested (dashboard | schedule) Example |
Every call also sends Authorization and X-Tenant-ID; see Getting started.
Example request
curl "https://api.fetchfido.ai/v1/dashboard/provider-portal/assignment-confirmation-popup/{tab}" \
-H "Authorization: Bearer $FIDO_API_KEY" \
-H "X-Tenant-ID: $FIDO_TENANT_ID"Try it
Responses
200 Assignment or shift details retrieved successfully
Assignment or shift details retrieved successfully
{
"success": true,
"message": "Assignment details retrieved successfully",
"data": {
"type": "shift",
"assignmentId": "SFT-PJ1X3C",
"title": "Shift",
"id": 1,
"serviceType": {
"id": 1,
"label": "ASL"
},
"startTime": "Nov 14, 2025 08:30 AM",
"timeUntilStart": "10 minutes",
"pendingCount": 1,
"message": "10 minutes until assignment starts\\nASL interpretation for Assignment (ID: SFT-PJ1X3C)\\n👉 Please confirm your availability before it begins."
}
}Response fields (14)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
data | object | |
data.type | string | Example |
data.assignmentId | string | Example |
data.title | string | Example |
data.id | integer | Example |
data.serviceType | object | |
data.serviceType.id | integer | Example |
data.serviceType.label | string | Example |
data.startTime | string | Example |
data.timeUntilStart | string | Example |
data.pendingCount | integer | Jobs starting later today that still need this provider's confirmation, the one shown included Example |
data.message | string | Example |
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 'providers: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 |
404 Not found
No upcoming assignments found
{
"success": false,
"message": "No upcoming assignments found",
"data": null
}Response fields (3)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
data | string |
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
Internal server error
{
"success": false,
"message": "Something went wrong!"
}Response fields (2)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |