Check out our upcoming events and meetups! View events →
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const autorespConfigs = await client.messagingProfiles.autorespConfigs.list(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
console.log(autorespConfigs.data);{
"data": [
{
"op": "start",
"keywords": [
"START",
"BEGIN"
],
"resp_text": "Thank you for subscribing US customer.",
"country_code": "US",
"id": "677ec1cb-949e-4aeb-a1c3-6d9ddffc1409",
"created_at": "2023-03-21T23:37:45.858535+00:00",
"updated_at": "2023-03-21T23:37:45.858535+00:00"
},
{
"op": "stop",
"keywords": [
"END",
"STOP"
],
"resp_text": "You have unsubscribed.",
"country_code": "US",
"id": "54b7e19f-98a8-416f-81d1-a2782eade48b",
"created_at": "2023-03-10T21:54:46.293380+00:00",
"updated_at": "2023-03-10T21:54:46.293380+00:00"
},
{
"op": "start",
"keywords": [
"START"
],
"resp_text": "Thank you for subscribing.",
"country_code": "*",
"id": "cfe07be1-2369-433f-be00-eb176008e834",
"created_at": "2023-03-14T14:46:21.097735+00:00",
"updated_at": "2023-03-14T14:46:21.097735+00:00"
}
],
"meta": {
"page_number": 1,
"page_size": 5,
"total_pages": 1,
"total_results": 3
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Consolidated created_at parameter (deepObject style). Originally: created_at[gte], created_at[lte]
Show child attributes
Consolidated updated_at parameter (deepObject style). Originally: updated_at[gte], updated_at[lte]
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const autorespConfigs = await client.messagingProfiles.autorespConfigs.list(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
console.log(autorespConfigs.data);{
"data": [
{
"op": "start",
"keywords": [
"START",
"BEGIN"
],
"resp_text": "Thank you for subscribing US customer.",
"country_code": "US",
"id": "677ec1cb-949e-4aeb-a1c3-6d9ddffc1409",
"created_at": "2023-03-21T23:37:45.858535+00:00",
"updated_at": "2023-03-21T23:37:45.858535+00:00"
},
{
"op": "stop",
"keywords": [
"END",
"STOP"
],
"resp_text": "You have unsubscribed.",
"country_code": "US",
"id": "54b7e19f-98a8-416f-81d1-a2782eade48b",
"created_at": "2023-03-10T21:54:46.293380+00:00",
"updated_at": "2023-03-10T21:54:46.293380+00:00"
},
{
"op": "start",
"keywords": [
"START"
],
"resp_text": "Thank you for subscribing.",
"country_code": "*",
"id": "cfe07be1-2369-433f-be00-eb176008e834",
"created_at": "2023-03-14T14:46:21.097735+00:00",
"updated_at": "2023-03-14T14:46:21.097735+00:00"
}
],
"meta": {
"page_number": 1,
"page_size": 5,
"total_pages": 1,
"total_results": 3
}
}