Skip to main content
PUT
Set Credential Value

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Path Parameters

credential_id
string<uuid>
required

Body

application/json

The value of a static credential — one with no refresher to mint it.

An object rather than a bare string because $credential('name') is indexed by key everywhere else; a static credential holding {"api_key": "..."} reads identically to a refreshed one holding {"access_token": "..."}.

value
Value · object
required
expires_at
string<date-time> | null

Response

Successful Response