---
title: "Get SIP account details"
method: GET
path: "/api/v1/sipaccounts/{id}"
tags: ["SIP Accounts"]
---

# Get SIP account details

`GET /api/v1/sipaccounts/{id}`

## Request

- Base URL: `https://app.didlogic.com`
- URL: `https://app.didlogic.com/api/v1/sipaccounts/{id}`
- Auth: HTTP bearer

Retrieve details of a specific SIP account.

Rows: sipaccounts_index. See also: sipaccounts_allowed_ips_index, to manage the allowed IPs.

## Path parameters

- `id` string, required

## Response `200`

Successfully returns SIP account configuration and settings

- object
  - `sipaccount` object, required: SIP account details
    - `id` integer, required: Unique SIP account identifier
    - `name` string, required: SIP account username
    - `callerid` string, required: Caller ID
    - `label` string, required: Account label
    - `host` string, required: SIP server host
    - `rewrite_enabled` boolean, required: Whether number rewriting is enabled
    - `rewrite_cond` string, required: Rewrite condition pattern (regular expression)
    - `rewrite_prefix` string, required: Prefix to add when rewriting numbers
    - `didinfo_enabled` boolean, required: Whether DID info is included in SIP headers
    - `ip_restrict` boolean, required: Whether access is restricted by IP address
    - `call_restrict` boolean, required: Whether the per-call duration limit is enabled
    - `call_limit` integer, required: Maximum call duration in seconds
    - `channels_restrict` boolean, required: Whether concurrent channel limits are enabled
    - `max_channels` integer, required: Maximum number of concurrent channels allowed
    - `cost_limit` boolean, required: Whether maximum call cost limit is enabled
    - `max_call_cost` string, required: Maximum allowed cost per call
    - `created_at` string, required: Account creation timestamp
    - `charge` string, required: Total charges accumulated on this account
    - `talk_time` integer, required: Total talk time in seconds
    - `low_balance` boolean, required: Whether account has low balance
    - `spend_limit` string, required: Maximum total spend amount
    - `spend_limit_enabled` boolean, required: Whether spending limit is enabled
    - `available_amount` string, required: Amount available for spending
    - `call_recording_enabled` boolean, required
    - `allowed_ips` unknown[], required: List of IP addresses allowed to authenticate
      - unknown

## Other responses

- `403`: Returns 403 error when API token is incorrect
- `404`: Returns the 404 error envelope {"errors":{"base":["data not found"]}} when neither the SIP account name nor id matches an account you own.

---

[API](https://skmtc.dev/didlogic/apis/get-started.md) · [All operations](https://skmtc.dev/didlogic/apis/get-started/llms.txt) · [OpenAPI document](https://skmtc.dev/didlogic/apis/get-started/revisions/dc972d592b34?raw)
