v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014102371.0 MB
Team

Regenerate direct hash for team

Regenerates the direct hash for the specified team. If no direct hash exists, one is created. Returns the updated team with the new direct_hash.

post/teams/{id}/direct-hash-regenerate

Path parameters

idstring uuid required
Example:550e8400-e29b-41d4-a716-446655440000

The unique identifier of the team. Returned from the GET /teams response.

Response

Direct hash regenerated successfully.

idstring uuid required

The unique identifier of the team.

customer_idstring uuid required

The unique identifier of the associated customer. Returned from the GET /customers response.

namestring required

Name of the team.

detailstring required

Detailed description of the team.

start_member_idstring uuid required

The member ID that starts the conversation. Must reference one of the members in the members array.

parameterobject

Custom key-value parameter data for the team. Supports flow variable substitution at runtime.

direct_hashstring

Hash for direct access via SIP URI sip:direct.<hash>@sip.voipbin.net. Returned from the resource's direct_hash field.

tm_createstring date-time

Timestamp when the team was created.

tm_updatestring date-time

Timestamp when the team was last updated.

tm_deletestring date-time

Timestamp when the team was deleted.

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
  "name": "Customer Support Team",
  "detail": "Multi-agent team for handling customer inquiries",
  "start_member_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
  "members": [
    {
      "id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "name": "Greeter",
      "ai_id": "550e8400-e29b-41d4-a716-446655440000",
      "transitions": [
        {
          "function_name": "transfer_to_specialist",
          "description": "Transfer to the specialist when the customer needs technical help",
          "next_member_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
        }
      ]
    }
  ],
  "parameter": {
    "language": "en-US",
    "department": "support"
  },
  "direct_hash": "a8f3b2c1d4e5",
  "tm_create": "2026-01-15T09:30:00.000000Z",
  "tm_update": "2026-01-15T09:30:00.000000Z",
  "tm_delete": "2026-01-15T09:30:00.000000Z"
}