Skip to main content
GET
/
credentials
/
users
/
{userId}
Retrieve all credentials for a user
curl --request GET \
  --url https://production.runalloy.com/credentials/users/{userId} \
  --header 'Authorization: <authorization>' \
  --header 'x-api-version: <x-api-version>'
{
  "data": [
    {
      "credentialId": "66fb066c3793749b64c214bc",
      "type": "shopify",
      "name": "Shopify alloy-sandbox.myshopify.com",
      "createdAt": "2024-09-30T20:13:32.491Z",
      "updatedAt": "2024-09-30T20:13:32.522Z"
    }
  ]
}

Headers

Authorization
string
default:bearer YOUR_API_KEY
required
x-api-version
string
default:2025-09
required

The version of the API to use. The current API version is 2025-09.

Path Parameters

userId
string
required

The id of the currently logged in user

Response

200 - application/json

200

data
object[]
I