# Application Configuration

## Get your current client configuration

## Get Client configurations

<mark style="color:blue;">`GET`</mark> `https://sec-id-api.securitize.io/v1/{clientId}`

Used to display current application configuration

#### Path Parameters

| Name     | Type   | Description                                       |
| -------- | ------ | ------------------------------------------------- |
| clientId | string | Your application Client Id provided by Securitize |

#### Headers

| Name          | Type   | Description                                    |
| ------------- | ------ | ---------------------------------------------- |
| authorization | string | Your application secret provided by Securitize |

{% tabs %}
{% tab title="200 " %}

```
{
  "status": 0,
  "data": {
    "appIcon": "string",
    "appName": "string",
    "redirectUrls": [
      "string"
    ]
  },
  "error": {},
  "success": true
}
```

{% endtab %}
{% endtabs %}

## Update your Application configurations

## Patch Client Configuration

<mark style="color:purple;">`PATCH`</mark> `https://sec-id-api.securitize.io/v1/{clientId}`

Allows update display name, icon or allowed redirect urls.\
Redirect urls will be used to authorize a redirection after a login process.\
If the URL used on the query string parameter is part of the redirectURL array, Securitize iD will redirect the user to that page.

#### Path Parameters

| Name     | Type   | Description                                       |
| -------- | ------ | ------------------------------------------------- |
| clientId | string | Your application Client Id provided by Securitize |

#### Headers

| Name          | Type   | Description                                    |
| ------------- | ------ | ---------------------------------------------- |
| Authorization | string | Your application secret provided by Securitize |

#### Request Body

| Name         | Type   | Description                                      |
| ------------ | ------ | ------------------------------------------------ |
| appIcon      | string | URL to image displayed on share information form |
| appName      | string | Name displayed on share information form         |
| redirectUrls | array  | Array of allowed redirect URLs                   |

{% tabs %}
{% tab title="200 Updated application configurations" %}

```
{
  "status": 0,
  "data": {
    "appIcon": "string",
    "issuerName": "string",
    "redirectUrls": [
      "string"
    ]
  },
  "error": {},
  "success": true
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://sec-connect-api-docs.securitize.io/authentication-1/client-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
