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": "512-555-1234",
"request_variables": {
},
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}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": "512-555-1234",
"request_variables": {
},
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Successful Response