Skip to main content
POST
/
api
/
v1
/
batch-call
/
{batch_id}
/
data
/
upsert
Upsert target numbers
curl --request POST \
  --url https://api.kupe.in/api/v1/batch-call/{batch_id}/data/upsert \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "items": [
    {
      "to_phonenumber": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "variable_values": {}
    }
  ]
}
'
{}

Authorizations

x-api-key
string
header
default:YOUR_KUPE_API_KEY
required

Kupe dashboard API key for your user.

Path Parameters

batch_id
string<uuid>
required

Body

application/json
items
object[]
required

Response

200 - application/json

Recipients saved

The response is of type object.