Skip to main content
POST
/
audience
/
add-contacts
cURL
curl --request POST \\
  --url https://voip-middlware.superu.ai/audience/add-contacts \\
  --header 'superU-Api-Key: YOUR_SUPERU_API_KEY' \\
  --data '{
  "audience_id": "aud_01HXR9V5S7W1S0Q4H4PDTGM43B",
  "contacts": [
    {
      "first_name": "Ava",
      "last_name": "Patel",
      "email": "[email protected]",
      "country_code": "+1",
      "phone_number": "5551234567",
      "variable_values": {
        "key": "value"
      }
    }
  ]
}'
{
  "status": "success",
  "audience_id": "aud_01HXR9V5S7W1S0Q4H4PDTGM43B",
  "contacts_added": 2,
  "message": "Contacts added"
}

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Add contacts to audience.

Audience Add Contacts Request schema.

audience_id
string
required

Audience ID

Example:

"aud_01HXR9V5S7W1S0Q4H4PDTGM43B"

contacts
object[]
required

Contacts value.

Minimum array length: 1

Response

Contacts added

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.