> ## 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.

# Activate Branded Calling on an enterprise

> Branded Calling is a paid product that must be activated on each enterprise. Activation is idempotent:
- First call: marks the enterprise as activated and begins onboarding it with the Branded Calling platform asynchronously. Returns `200` with `branded_calling_enabled: true`.
- Re-call after success: no-op, returns the same enterprise body.
- Re-call after a prior failure: re-queues onboarding, returns `200`.

Prerequisite: the calling user must have agreed to the Branded Calling Terms of Service (`POST /terms_of_service/branded_calling/agree`). Without that, this endpoint returns `403 terms_of_service_not_accepted`.

Failure modes:
- `403` - Branded Calling Terms of Service not accepted.
- `404` - enterprise does not exist or does not belong to your account.

**Pricing:** This is a billable action. See https://telnyx.com/pricing/numbers for current pricing.



## OpenAPI

````yaml https://telnyx-openapi-ng.s3.us-east-1.amazonaws.com/branded-calling/enterprises.yml post /enterprises/{enterprise_id}/branded_calling
openapi: 3.1.0
info:
  title: Telnyx Branded Calling Enterprises API
  version: 2.0.0
  description: >-
    Register and manage the enterprise (business entity) that owns your Display
    Identity Records and phone numbers, and activate Branded Calling on it.
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
paths:
  /enterprises/{enterprise_id}/branded_calling:
    post:
      tags:
        - Enterprises
      summary: Activate Branded Calling on an enterprise
      description: >-
        Branded Calling is a paid product that must be activated on each
        enterprise. Activation is idempotent:

        - First call: marks the enterprise as activated and begins onboarding it
        with the Branded Calling platform asynchronously. Returns `200` with
        `branded_calling_enabled: true`.

        - Re-call after success: no-op, returns the same enterprise body.

        - Re-call after a prior failure: re-queues onboarding, returns `200`.


        Prerequisite: the calling user must have agreed to the Branded Calling
        Terms of Service (`POST /terms_of_service/branded_calling/agree`).
        Without that, this endpoint returns `403 terms_of_service_not_accepted`.


        Failure modes:

        - `403` - Branded Calling Terms of Service not accepted.

        - `404` - enterprise does not exist or does not belong to your account.


        **Pricing:** This is a billable action. See
        https://telnyx.com/pricing/numbers for current pricing.
      operationId: activateBrandedCalling
      parameters:
        - $ref: '#/components/parameters/EnterpriseId'
      responses:
        '200':
          description: Branded Calling activated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnterprisePublicWrapped'
        default:
          $ref: '#/components/responses/branded-calling_GenericErrorResponse'
        4XX:
          $ref: '#/components/responses/branded-calling_GenericErrorResponse'
      x-codeSamples:
        - lang: JavaScript
          source: |-
            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.enterprises.activateBrandedCalling(
              '4a6192a4-573d-446d-b3ce-aff9117272a6',
            );

            console.log(response.data);
        - lang: Python
          source: |-
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            response = client.enterprises.activate_branded_calling(
                "4a6192a4-573d-446d-b3ce-aff9117272a6",
            )
            print(response.data)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Enterprises.ActivateBrandedCalling(context.TODO(), \"4a6192a4-573d-446d-b3ce-aff9117272a6\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.Data)\n}\n"
        - lang: Java
          source: >-
            package com.telnyx.sdk.example;


            import com.telnyx.sdk.client.TelnyxClient;

            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            import
            com.telnyx.sdk.models.enterprises.EnterpriseActivateBrandedCallingParams;

            import
            com.telnyx.sdk.models.enterprises.EnterpriseActivateBrandedCallingResponse;


            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    EnterpriseActivateBrandedCallingResponse response = client.enterprises().activateBrandedCalling("4a6192a4-573d-446d-b3ce-aff9117272a6");
                }
            }
        - lang: Ruby
          source: >-
            require "telnyx"


            telnyx = Telnyx::Client.new(api_key: "My API Key")


            response =
            telnyx.enterprises.activate_branded_calling("4a6192a4-573d-446d-b3ce-aff9117272a6")


            puts(response)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $response = $client->enterprises->activateBrandedCalling(
                '4a6192a4-573d-446d-b3ce-aff9117272a6'
              );

              var_dump($response);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx enterprises activate-branded-calling \
              --api-key 'My API Key' \
              --enterprise-id 4a6192a4-573d-446d-b3ce-aff9117272a6
components:
  parameters:
    EnterpriseId:
      name: enterprise_id
      in: path
      description: The enterprise id. Lowercase UUID.
      required: true
      schema:
        type: string
        format: uuid
        example: 4a6192a4-573d-446d-b3ce-aff9117272a6
  schemas:
    EnterprisePublicWrapped:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/EnterprisePublic'
    EnterprisePublic:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 4a6192a4-573d-446d-b3ce-aff9117272a6
          readOnly: true
        legal_name:
          type: string
          example: Acme Plumbing LLC
        organization_type:
          type: string
          example: commercial
        country_code:
          type: string
          example: US
        role_type:
          type: string
          example: enterprise
        website:
          type: string
          example: https://acmeplumbing.example.com
        fein:
          type: string
          example: 12-3456789
        industry:
          type: string
          example: technology
        number_of_employees:
          type: string
          example: 51-200
        organization_legal_type:
          type: string
          example: llc
        doing_business_as:
          type: string
          example: Acme Plumbing
        jurisdiction_of_incorporation:
          type: string
          example: Delaware
        customer_reference:
          type: string
          example: internal-id-12345
        primary_business_domain_sic_code:
          type: string
          nullable: true
          description: Optional SIC code for the primary line of business.
          example: null
        corporate_registration_number:
          type: string
          nullable: true
          description: Optional corporate-registration / company-number identifier.
          example: null
        professional_license_number:
          type: string
          nullable: true
          description: Optional professional-license number for regulated industries.
          example: null
        dun_bradstreet_number:
          type: string
          nullable: true
          description: Optional D-U-N-S Number issued by Dun & Bradstreet.
          example: null
        organization_contact:
          $ref: '#/components/schemas/OrganizationContact'
        billing_contact:
          $ref: '#/components/schemas/BillingContact'
        organization_physical_address:
          $ref: '#/components/schemas/PhysicalAddress'
        billing_address:
          $ref: '#/components/schemas/PhysicalAddress'
        created_at:
          type: string
          format: date-time
          example: '2026-04-26T18:06:51.940749Z'
          readOnly: true
        updated_at:
          type: string
          format: date-time
          example: '2026-04-26T18:09:24.785211Z'
          readOnly: true
        branded_calling_enabled:
          type: boolean
          description: >-
            True once Branded Calling has been activated on this enterprise (see
            `POST /enterprises/{id}/branded_calling`).
        number_reputation_enabled:
          type: boolean
          description: >-
            True once Phone Number Reputation has been enabled on this
            enterprise (see `POST /enterprises/{id}/reputation`).
    branded-calling_Errors:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/branded-calling_Error'
          description: List of one or more error entries. Order is not significant.
      description: >-
        Canonical Telnyx error envelope. Returned on every 4xx and 5xx response
        from this service. `errors` is non-empty; multiple entries indicate
        multiple distinct problems with the same request (e.g. one entry per
        invalid phone number on a bulk operation).
    OrganizationContact:
      type: object
      required:
        - first_name
        - last_name
        - email
        - job_title
        - phone_number
      properties:
        first_name:
          type: string
          maxLength: 255
          example: Sam
        last_name:
          type: string
          maxLength: 255
          example: Org
        email:
          type: string
          format: email
          example: sam@acmeplumbing.example.com
        job_title:
          type: string
          maxLength: 255
          example: Compliance Lead
        phone_number:
          type: string
          description: E.164 format with leading `+`.
          example: '+13125550000'
    BillingContact:
      type: object
      required:
        - first_name
        - last_name
        - email
        - phone_number
      properties:
        first_name:
          type: string
          maxLength: 255
          example: Alex
        last_name:
          type: string
          maxLength: 255
          example: Bill
        email:
          type: string
          format: email
          example: billing@acmeplumbing.example.com
        phone_number:
          type: string
          description: E.164 format with leading `+`.
          example: '+13125550001'
    PhysicalAddress:
      type: object
      required:
        - country
        - administrative_area
        - city
        - postal_code
        - street_address
      properties:
        country:
          type: string
          description: ISO 3166-1 alpha-2 code (currently `US` or `CA`).
          example: US
        administrative_area:
          type: string
          description: State or province code (e.g. `IL`, `ON`).
          example: IL
        city:
          type: string
          maxLength: 100
          example: Chicago
        postal_code:
          type: string
          maxLength: 20
          example: '60601'
        street_address:
          type: string
          maxLength: 255
          example: 100 Main St
        extended_address:
          type: string
          maxLength: 255
          example: Suite 504
          nullable: true
    branded-calling_Error:
      type: object
      required:
        - code
        - title
        - detail
        - meta
      properties:
        code:
          type: string
          example: '10005'
          description: >-
            Stable numeric Telnyx error catalog id. See `meta.url` for the full
            catalog entry.
        title:
          type: string
          example: Invalid parameters
          description: >-
            Short human-readable category, e.g. `Bad Request`, `Duplicate
            resource`, `Not Found`, `Forbidden`. Treat as advisory only - the
            stable identifier is `code`.
        detail:
          type: string
          example: field required
          description: >-
            Context-specific message describing what went wrong on this
            particular request. May embed offending values; do not rely on it
            for programmatic matching - branch on `code`.
        meta:
          type: object
          required:
            - url
          properties:
            url:
              type: string
              format: uri
              example: https://developers.telnyx.com/docs/overview/errors/10005
            pending_check_ids:
              type: array
              items:
                type: string
                format: uuid
              description: >-
                Set on `422 vetting_checks_incomplete` responses from
                `/admin/dir/{id}/approve` and
                `/admin/phone-number-batches/approve`. Lists the still-pending
                vetting check ids.
            pending_check_codes:
              type: array
              items:
                type: string
              description: >-
                Codes of the pending vetting checks (e.g.
                `loa_signature_valid`).
            pending_check_labels:
              type: array
              items:
                type: string
              description: Human-readable labels of the pending vetting checks.
          description: >-
            Carries `url` linking to the Telnyx error catalog entry for this
            `code`. Useful for forwarding the user to documentation.
        source:
          type: object
          description: Optional pointer at the offending field of the request.
          properties:
            pointer:
              type: string
              example: /body/legal_name
            parameter:
              type: string
              example: page[size]
      description: >-
        A single entry in the canonical Telnyx error envelope. `code` is the
        stable Telnyx error catalog id; the human-readable explanation lives at
        `meta.url`. `detail` is a context-specific message; `source.pointer`
        (when present) names the offending field of the request.
  responses:
    branded-calling_GenericErrorResponse:
      description: >-
        An error occurred. The response carries the standard Telnyx error
        envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/branded-calling_Errors'
          examples:
            validation_error:
              summary: 422 - request body failed validation
              value:
                errors:
                  - code: '10005'
                    title: Invalid parameters
                    detail: field required
                    meta:
                      url: https://developers.telnyx.com/docs/overview/errors/10005
                    source:
                      pointer: /body/legal_name
            bad_request:
              summary: 400 - request rejected by a state guard
              description: >-
                Returned when the request itself is well-formed but the resource
                is in a state that disallows this action (e.g. updating a DIR
                while it is being vetted, or deleting an enterprise that still
                has DIRs in vetting).
              value:
                errors:
                  - code: '10015'
                    title: Bad Request
                    detail: Cannot update DIR in 'verified' status
                    meta:
                      url: https://developers.telnyx.com/docs/overview/errors/10015
            not_found:
              summary: 404 - resource does not exist or is not yours
              value:
                errors:
                  - code: '10009'
                    title: Resource not found
                    detail: Enterprise not found.
                    meta:
                      url: https://developers.telnyx.com/docs/overview/errors/10009
            conflict:
              summary: 409 - request conflicts with current resource state
              value:
                errors:
                  - code: '10021'
                    title: Resource in use
                    detail: >-
                      DIR has 1 active infringement claim(s). Resolve the claim
                      before making this change.
                    meta:
                      url: https://developers.telnyx.com/docs/overview/errors/10021
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````