> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tools-tips-and-tricks/restful-api/prosbc-restful-api-sip-domain-registrar.md).

# ProSBC:Restful API SIP Domain Registrar

```
{
    "enabled": true,
    "***meta***": {
        "version": "3.1.137",
        "src_path": ""
    },
    "name": "3CX_REGISTRAR",
    "nap": "3CX",
    "position": 1
}

```

Important parameters in the JSON file

* [name](/configuration-details/configuration-parameters-all.md#parameter-name)
* [nap](/configuration-details/configuration-parameters-all.md#parameter-nap)
* position: If you need to add more than one SIP registrar you need to use position to give priority.

### Adding a new SIP Domain Registrar

You can add a new SIP Domain Registrar with the POST command:

POST [http://ProSBCIP:12358/configurations/configuration\_name/sip\_registration\_domains/domainname/sip\_registration\_registrars](http://prosbcip:12358/configurations/configuration_name/sip_registration_domains/domainname/sip_registration_registrars)

\
ProSBC will create a new SIP Domain Registrar from the name in the JSON file.

Example: We use the Postman tool in this example and the URL is:

<http://192.168.1.25:12358/configurations/config_2/sip_registration_domains/TEST_DOMAIN/sip_registration_registrars>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/d/da/RestFul_sip_domain_registrar_Post_Send.png/800px-RestFul_sip_domain_registrar_Post_Send.png" alt=""><figcaption></figcaption></figure>

\
If the new SIP Domain Registrar is created successfully, the following message is returned in the Postman Tool

<figure><img src="https://docs.telcobridges.com/w/images/thumb/c/cd/RestFul_sip_domain_registrar_Post_Response.png/800px-RestFul_sip_domain_registrar_Post_Response.png" alt=""><figcaption></figcaption></figure>

### Modifiying a SIP Domain Registrar

You can modify the existing SIP Domain Registrar with the PUT command:

PUT [http://ProSBCIP:12358/configurations/configurationname/sip\_registration\_domains/sip\_domain\_name/sip\_registration\_registrars/registrar\_name](http://prosbcip:12358/configurations/configurationname/sip_registration_domains/sip_domain_name/sip_registration_registrars/registrar_name)

\
Example: We use the Postman tool in this example and the URL is

192.168.1.25:12358/configurations/config\_2/sip\_registration\_domains/TEST\_DOMAIN/sip\_registration\_registrars/3CX\_REGISTRAR and disable it

<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/c/c3/SIP_Domain_registrar_Put_Send.png/800px-SIP_Domain_registrar_Put_Send.png" alt=""><figcaption></figcaption></figure>

\
If the update is successful, the following message is returned in the Postman Tool

<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/7/7d/SIP_Domain_registrar_Put_Response.png/800px-SIP_Domain_registrar_Put_Response.png" alt=""><figcaption></figcaption></figure>

\
You can get more information about how to use RestFul API and Postman Tool from the following link [Northbound\_interface:RESTful](/tools-tips-and-tricks/restful-api.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tools-tips-and-tricks/restful-api/prosbc-restful-api-sip-domain-registrar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
