Skip to main content
POST
/
terms_of_service
/
number_reputation
/
agree
JavaScript
import Telnyx from 'telnyx';

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

await client.termsOfService.numberReputation.agree();
{
  "errors": [
    {
      "code": "10015",
      "title": "Bad Request",
      "detail": "User has already agreed to Terms of Service version v1.0.0",
      "meta": {
        "url": "<string>"
      },
      "source": {
        "pointer": "/body/organization_type"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Terms of Service accepted successfully