Credentials v2

Set Tokenise Destination

Set where a connected channel's imported history tokenises.

Imported channel history has no workspace — nothing is downloaded, so there is no container — and registration refuses until a destination exists (content_routes.register_content_for_revenue, 409 tokenise_destination_unset). This is the only thing that clears that refusal, and the last gate before a permanent on-chain allocation, so every fact is checked HERE rather than assumed from the client having rendered a filtered list of teams.

Changing a destination applies FORWARD ONLY. Content already registered carries its own copy of the destination it was minted under (contents_v2.tokenise_destination_mode / tokenise_team_id), and resolve_registration_destination reads that copy in preference to the credential. Nothing here touches contents_v2 — that copy is the record, and the split derived from it is already on-chain.

patch/v2/credentials/{credential_id}/tokenise-destination

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

credential_idstring required

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

team_idstring nullable

Team to tokenise this channel's imports under.

soloboolean

Set true to tokenise solo. Mutually exclusive with team_id.

Response

Successful Response

credential_idstring required
profile_idstring required
platformstring required
account_namestring required
account_usernamestring nullable required
account_idstring required
nicknamestring nullable required
account_labelstring nullable
display_namestring required

Best display name (nickname > account_name > account_username)

statusstring required
is_activeboolean required
needs_reauthboolean required
token_expires_atstring date-time nullable required
has_refresh_tokenboolean required
token_validboolean nullable

Result of live token validation against the platform API. None if not checked.

last_checked_atstring date-time nullable
last_check_sourcestring nullable
last_check_outcomestring nullable

alive | dead | undetermined

last_check_detailstring nullable
tokenise_destination_setboolean

True once a destination has been chosen for this channel.

tokenise_team_idstring nullable

Team the channel's imports tokenise to; null for solo.

tokenise_destination_modestring nullable

'team', 'solo', or null when no destination has been set.

facebook_page_idstring nullable
facebook_page_namestring nullable
granted_scopesstring[] nullable
reconnect_requiredobject nullable
created_atstring date-time required
updated_atstring date-time nullable required
last_used_atstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.