---
title: "Create a new Public Key Credential"
method: POST
path: "/v1/Credentials/PublicKeys"
tags: ["AccountsV1PublicKey"]
---

# Create a new Public Key Credential

`POST /v1/Credentials/PublicKeys`

Create a new Public Key Credential

## Response `201`

Created

- 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`

---

[API](https://skmtc.net/twilio/apis/accounts-v1.md) · [All operations](https://skmtc.net/twilio/apis/accounts-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twilio/accounts-v1/versions/10557890848f/schema)
