---
title: "Fetch the public key specified by the provided Credential Sid"
method: GET
path: "/v1/Credentials/PublicKeys/{Sid}"
tags: ["AccountsV1PublicKey"]
---

# Fetch the public key specified by the provided Credential Sid

`GET /v1/Credentials/PublicKeys/{Sid}`

## Request

- Base URL: `https://accounts.twilio.com`
- URL: `https://accounts.twilio.com/v1/Credentials/PublicKeys/{Sid}`
- Auth: HTTP basic

Fetch the public key specified by the provided Credential Sid

## Path parameters

- `Sid` string, required

## Response `200`

OK

- AccountsV1CredentialCredentialPublicKey
  - `sid` string, nullable: The unique string that that we created to identify the PublicKey resource.
  - `account_sid` string, nullable: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Credential that the PublicKey resource belongs to.
  - `friendly_name` string, nullable: The string that you assigned to describe the resource.
  - `date_created` string, date-time, nullable: The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `date_updated` string, date-time, nullable: The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `url` string, uri, nullable: The URI for this resource, relative to `https://accounts.twilio.com`

## Changes

- **2023-08-10** (v1) `ec5af6efe634`: 1 info
  - api tag `AccountsV1PublicKey` added

[Operation history](https://skmtc.dev/twilio/apis/accounts-v1/changes/v1/Credentials/PublicKeys/:Sid/get.md)

---

[API](https://skmtc.dev/twilio/apis/accounts-v1.md) - [All operations](https://skmtc.dev/twilio/apis/accounts-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/twilio/apis/accounts-v1/revisions/a21ff11add2e?raw)
