Skip to main content
GET
/
messaging
/
tollfree
/
verification
/
requests
/
{id}
/
status
/
history
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});

const response = await client.messagingTollfree.verification.requests.retrieveStatusHistory(
  '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
  { 'page[number]': 1, 'page[size]': 1 },
);

console.log(response.records);
{
  "records": [],
  "total_records": 0
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

page[number]
integer
required
Required range: x >= 1
page[size]
integer
required

Request this many records per page. This value is automatically clamped if the provided value is too large.

Required range: x >= 1

Response

Successful Response

A paginated response

records
VerificationStatusHistoryEntry · object[]
required

The records yielded by this request

total_records
integer
default:0
required

The total amount of records for these query parameters