---
title: "List all credentials"
method: GET
path: "/telephony_credentials"
tags: ["Credentials"]
---

# List all credentials

`GET /telephony_credentials`

List all On-demand Credentials.

## Query parameters

- `page` object
  - `number` integer — The page number to load
  - `size` integer — The size of the page
- `filter` object
  - `tag` string — Filter by tag
  - `name` string — Filter by name
  - `status` string — Filter by status
  - `resource_id` string — Filter by resource_id
  - `sip_username` string — Filter by sip_username

## Response `200`

Successful response with multiple credentials

- object
  - `data` TelephonyCredential[]
    - `id` string — Identifies the resource.
    - `record_type` string — Identifies the type of the resource.
    - `name` string
    - `resource_id` string — Identifies the resource this credential is associated with.
    - `expired` boolean — Defaults to false
    - `sip_username` string — The randomly generated SIP username for the credential.
    - `sip_password` string — The randomly generated SIP password for the credential.
    - `created_at` string — ISO-8601 formatted date indicating when the resource was created.
    - `user_id` string — Identifies the user this credential is associated with.
    - `updated_at` string — ISO-8601 formatted date indicating when the resource was updated.
    - `expires_at` string — ISO-8601 formatted date indicating when the resource will expire.
  - `meta` PaginationMeta
    - `total_pages` integer
    - `total_results` integer
    - `page_number` integer
    - `page_size` integer

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Resource not found

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
