Skip to main content
GET
/
credentials
/
{credential_id}
Retrieve a credential
curl --request GET \
  --url https://api.deck.co/v2/credentials/{credential_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "status": "<string>",
  "external_id": "<string>",
  "source_id": "<string>",
  "auth_method": "<string>",
  "auth_credentials": {
    "username": "<string>",
    "key": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Clerk JWT, client credential JWT, or secret key (sk_live_...)

Path Parameters

credential_id
string
required

Response

OK

id
string
required
object
string
required
status
string
required
external_id
null | string
required
source_id
string
required
auth_method
string
required
auth_credentials
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
request_id
string
required