import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const autoRespConfigResponse = await client.messagingProfiles.autorespConfigs.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ profile_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
);
console.log(autoRespConfigResponse.data);{
"data": {
"op": "start",
"keywords": [
"UNSTOP"
],
"resp_text": "Hello there!",
"country_code": "US",
"id": "adc37adf-d110-4355-9e9a-262847e68e89",
"created_at": "2023-03-13T17:51:03.826453+00:00",
"updated_at": "2023-03-13T17:51:03.826453+00:00"
}
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const autoRespConfigResponse = await client.messagingProfiles.autorespConfigs.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ profile_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
);
console.log(autoRespConfigResponse.data);{
"data": {
"op": "start",
"keywords": [
"UNSTOP"
],
"resp_text": "Hello there!",
"country_code": "US",
"id": "adc37adf-d110-4355-9e9a-262847e68e89",
"created_at": "2023-03-13T17:51:03.826453+00:00",
"updated_at": "2023-03-13T17:51:03.826453+00:00"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Show child attributes
start, stop, info "start"
["START", "BEGIN"]"*"
"b8f9c1c0-5b5a-4b1e-8c1c-0b5a4b1e8c1c"
"Thank you for subscribing to our service."
Was this page helpful?