Skip to main content
POST
/
call
/
{callId}
/
tags
Add call tag
curl --request POST \
  --url https://app2.freyavoice.ai/api/v2/call/{callId}/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tag": "<string>",
  "source": "user",
  "value": 123,
  "confidence": 0.5,
  "metadata": {}
}
'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "success": true,
      "tag": {
        "tag": "<string>",
        "source": "<string>",
        "value": 123,
        "confidence": 0.5,
        "metadata": {}
      },
      "message": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

callId
string<uuid>
required

Call ID

Minimum string length: 1

Body

application/json
workspaceId
string<uuid>
required

Workspace ID

Minimum string length: 1
tag
string
required

Tag name

Minimum string length: 1
source
string
default:user

Tag source (e.g., 'user', 'ai')

Minimum string length: 1
value
number

Numeric value for the tag

confidence
number

Confidence score (0-1)

Required range: 0 <= x <= 1
metadata
object

Additional metadata

Response

Tag added

success
enum<boolean>
required
Available options:
true,
false
data
object
required