# Method: projects.sipDomains.verifyTeamsDirectRouting

Verifies the SIP domain with Teams Direct Routing by applying a verification string provided by Office 365.

The caller must have `voice.sipDomains.update` permission on the project.

### HTTP request

`POST https://voice.api.enfonica.com/v1beta1/{sip_domain}:verifyTeamsDirectRouting`

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">sipDomain</span> | <span class="e-code">string</span><br/>The resource name of the SIP domain to verify. Must be of the form `projects/*/sipDomains/*`.

### Request body

The VerifyTeamsDirectRouting request message.

<div class="highlight"><span class="filename">JSON representation</span><pre><code><span class="p">{</span>
  <span class="s2">&quot;sipDomain&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;txtRecordValue&quot;</span><span class="p">: </span><span class="kd">string</span>
<span class="p">}</span></code></pre></div>

Fields | &nbsp;
--|--
<span class="e-code">sipDomain</span> | <span class="e-code">string</span><br/>Required. The resource name of the SIP domain to verify. Must be of the form `projects/*/sipDomains/*`.
<span class="e-code">txtRecordValue</span> | <span class="e-code">string</span><br/>Required. The value of the DNS TXT verification. Maximum length of 100 characters. Must match the pattern `^[a-zA-Z0-9=]+$`.

### Response body

The VerifyTeamsDirectRouting response message.

<div class="highlight"><span class="filename">JSON representation</span><pre><code><span class="p">{</span>
<span class="p">}</span></code></pre></div>

This type has no fields.

