/v1/management/providersBehavior
Read a complete list of up to 1,000 authorized providers. Larger lists return PROVIDER_LIST_TOO_LARGE instead of truncation. Provider contact fields do not confer login, customer phone proof or WhatsApp connection.
Authentication
ManagementCredential
Credential rules
One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.
Required application permissions
providers:read
Only the credential’s current providerIds are included, including granted inactive providers. Calendar and policy permissions do not grant this access.
Request
No query parameters or request body. Use the credentials described above.
Successful responses
200 · BusinessProviderList
Current authorized provider state.
Cache-Control
{
"const": "no-store"
} application/json · BusinessProviderList
-
itemsarrayRequiredComplete current explicitly granted existing providers, including inactive rows. No pagination or silent truncation.
maxItems:1000View nested fields
-
[]objectArray itemView nested fields
-
providerIdstring · uuidRequired -
versionstringRequiredOpaque current provider aggregate version. Preserve exactly as returned; it can change after metadata, links, provider policy or relevant managed-booking readiness changes.
pattern:"^prv:[a-f0-9-]{36}:[a-f0-9]{64}$" -
nameobjectRequiredView nested fields
-
hestringRequired -
arstringRequired -
enstringRequired -
additionalPropertiesno value allowedSchema rule
-
-
emailstring | nullRequired -
phonestring | nullRequiredOrdinary provider contact text; no customer phone proof, consent, sender connection or login authority.
-
colorstringRequiredStored custom color text, including legacy values.
-
isActivebooleanRequired -
hasLinkedUserbooleanRequiredOnly a linkage indicator. No user identity, login credentials or user-management permission.
-
assignmentoneOf (object | object)RequiredExactly one of these variants must match.
View nested fields
-
oneOf 1 · mode = "all"objectSchema branchView branch fields and rules
-
modestringRequired in this branchValue:
"all" -
serviceIdsarrayRequired in this branchminItems:0maxItems:0uniqueItems:trueView nested fields
-
[]string · uuidArray item
-
-
additionalPropertiesno value allowedSchema rule
-
-
oneOf 2 · mode = "selected"objectSchema branchView branch fields and rules
-
modestringRequired in this branchValue:
"selected" -
serviceIdsarrayRequired in this branchminItems:1maxItems:1000uniqueItems:trueView nested fields
-
[]string · uuidArray item
-
-
additionalPropertiesno value allowedSchema rule
-
-
-
activityEffectsobjectRequiredView nested fields
-
activatestringRequiredAllowed values:
["none","managed_booking_unavailable","managed_booking_restored"] -
deactivatestringRequiredAllowed values:
["none","managed_booking_unavailable","managed_booking_restored"] -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
-
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"items": {
"type": "array",
"maxItems": 1000,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"providerId": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "string",
"pattern": "^prv:[a-f0-9-]{36}:[a-f0-9]{64}$",
"description": "Opaque current provider aggregate version. Preserve exactly as returned; it can change after metadata, links, provider policy or relevant managed-booking readiness changes."
},
"name": {
"type": "object",
"additionalProperties": false,
"properties": {
"he": {
"type": "string"
},
"ar": {
"type": "string"
},
"en": {
"type": "string"
}
},
"required": [
"he",
"ar",
"en"
]
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
],
"description": "Ordinary provider contact text; no customer phone proof, consent, sender connection or login authority."
},
"color": {
"type": "string",
"description": "Stored custom color text, including legacy values."
},
"isActive": {
"type": "boolean"
},
"hasLinkedUser": {
"type": "boolean",
"description": "Only a linkage indicator. No user identity, login credentials or user-management permission."
},
"assignment": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"const": "all"
},
"serviceIds": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"format": "uuid"
}
}
},
"required": [
"mode",
"serviceIds"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"const": "selected"
},
"serviceIds": {
"type": "array",
"minItems": 1,
"maxItems": 1000,
"uniqueItems": true,
"items": {
"type": "string",
"format": "uuid"
}
}
},
"required": [
"mode",
"serviceIds"
]
}
]
},
"activityEffects": {
"type": "object",
"additionalProperties": false,
"properties": {
"activate": {
"enum": [
"none",
"managed_booking_unavailable",
"managed_booking_restored"
]
},
"deactivate": {
"enum": [
"none",
"managed_booking_unavailable",
"managed_booking_restored"
]
}
},
"required": [
"activate",
"deactivate"
]
}
},
"required": [
"providerId",
"version",
"name",
"email",
"phone",
"color",
"isActive",
"hasLinkedUser",
"assignment",
"activityEffects"
]
},
"description": "Complete current explicitly granted existing providers, including inactive rows. No pagination or silent truncation."
}
},
"required": [
"items"
]
} Errors and recovery
Error responses declared in the contract (7)
The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Missing or invalid current Management credential.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 403 · SCOPE_REQUIRED, ACCESS_REVOKED, current provider grant denied or server-only Origin refusal.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 405 · Unsupported method on this resource. Provider-record creation/deletion are unavailable; creating a login for an existing provider uses the separate login-operations route and explicit provider-logins:write.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 409 · PROVIDER_LIST_TOO_LARGE or OPERATION_CONFLICT; no partial update.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 422 · Invalid shape, unsupported field, UUID, query selector, exact assignment or precondition.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 429 · Request quota; honor Retry-After.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 503 · Persistence or uncertain outcome; retain the original exact request and recover before another intent.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
}