---
title: "POST /v2/Credentials/{Sid}"
method: POST
path: "/v2/Credentials/{Sid}"
tags: ["ChatV2Credential"]
---

# POST /v2/Credentials/{Sid}

`POST /v2/Credentials/{Sid}`

## Path parameters

- `Sid` string, required

## Response `200`

OK

- ChatV2Credential
  - `sid` string, nullable — The unique string that we created to identify the Credential resource.
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Credential resource.
  - `friendly_name` string, nullable — The string that you assigned to describe the resource.
  - `type` 'gcm' | 'apn' | 'fcm' — The type of push-notification service the credential is for. Can be: `gcm`, `fcm`, or `apn`.
  - `sandbox` string, nullable — [APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production.
  - `date_created` string, date-time, nullable — The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `date_updated` string, date-time, nullable — The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `url` string, uri, nullable — The absolute URL of the Credential resource.

---

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