POST
/
api
/
v1
/
outbound
/
batches
/
{batch_id}
/
requests
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.outbound.batches.add(batch_id="<id>", communication_request={
        "reference_id": "12345",
        "target": "user@email.com",
        "request_variables": {},
    })

    # Handle response
    print(res)
"<any>"

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

batch_id
string
required

Body

application/json

Response

200
application/json
Successful Response

The response is of type any.