Adds (or returns the existing) binding between the participant and an agent.
Binds the participant to an agent so the agent can address it. The call is idempotent: if the binding already exists it is returned unchanged rather than duplicated. Returns 404 when the participant does not exist.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The participant identifier.
uuidThe agent identifier to bind.
The tenant identifier
Response Body
curl -X PUT "https://api.fruxon.com/v1/tenants/string/participants/497f6eca-6276-4993-bfeb-53cbbbba6f08/bindings/string"{
"id": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"createdAt": 0,
"modifiedAt": 0,
"participantId": "00000000-0000-0000-0000-000000000000",
"agentId": "string",
"roles": [
"string"
],
"consultAllowed": false,
"maxUrgency": "LOW",
"defaultForRoles": [
"string"
],
"responsePolicy": "ALWAYS",
"channelActivations": [
{
"agentId": "string",
"bindingId": "00000000-0000-0000-0000-000000000000",
"integrationConfigId": "00000000-0000-0000-0000-000000000000",
"provider": "string",
"address": "string",
"webhookUrl": "string",
"webhookUrlTemplate": "string",
"webhookKeyPrefix": "string",
"scope": "PER_BINDING"
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Removes the binding between the participant and an agent
Unbinds the participant from an agent. The call is idempotent: removing a binding that does not exist still succeeds with 204. Neither the participant nor the agent is deleted.
Patches the consult-roster metadata on one participant↔agent binding.
PATCH semantics: null fields are left unchanged; a supplied list replaces the stored one. `default_for_roles` must be a subset of `roles`. The `binding` route segment is the agent id (consistent with the bind sub-resource). 404 if the binding doesn't exist.