import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const userTags = await client.userTags.list();
console.log(userTags.data);{
"data": {
"outbound_profile_tags": [
"my-tag"
],
"number_tags": [
"my-tag"
]
}
}List all user tags.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const userTags = await client.userTags.list();
console.log(userTags.data);{
"data": {
"outbound_profile_tags": [
"my-tag"
],
"number_tags": [
"my-tag"
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A list of your tags
Show child attributes
A list of your tags on the given resource type. NOTE: The casing of the tags returned will not necessarily match the casing of the tags when they were added to a resource. This is because the tags will have the casing of the first time they were used within the Telnyx system regardless of source.
A list of your tags on the given resource type. NOTE: The casing of the tags returned will not necessarily match the casing of the tags when they were added to a resource. This is because the tags will have the casing of the first time they were used within the Telnyx system regardless of source.
Was this page helpful?