最近の検索
最近の検索はありません

Pan Vivian
参加日2021年12月10日
·
前回のアクティビティ2022年1月16日
フォロー中
0
フォロワー
0
合計アクティビティ
10
投票
1
受信登録
3
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Pan Vivian
Pan Vivianさんがコメントを作成しました:
Hi have you received response from Zendesk support? Can you share it to me? Thanks.
コメントを表示 · 投稿日時:2022年1月16日 · Pan Vivian
0
フォロワー
0
投票
0
コメント
Pan Vivianさんがコメントを作成しました:
I used this code, but I still does not solve my issue.
I am using end user to login in zendesk, using email/token: token to post an API, I still get the error message:"error: {title: "Forbidden", message: "Invalid authenticity token"}".
Here is my code snippet:
Can you help check whether there is something wrong?
fetch("/api/v2/users/me")
.then((data) => {
return res = data.json();
})
.then((res) => {
const authToken = res.user.authenticity_token;
console.log(authToken);
let myHeaders = new Headers();
myHeaders.append(
"Authorization",
"Basic xxxxxxxxxxxxxxxxxxxx"
);
myHeaders.append("Content-Type", "application/json");
myHeaders.append("X-CSRF-Token", authToken);
const raw = JSON.stringify({
"organization": {
"name": "ttt"
}
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow",
};
fetch('/api/v2/organizations', requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log("error", error));
});
コメントを表示 · 投稿日時:2022年1月13日 · Pan Vivian
0
フォロワー
2
投票
0
コメント
Pan Vivianさんがコメントを作成しました:
@... Thanks Jeff.
I know this API. But only agents and admin have access to this API. When an end user is login, how can he know which user segment he belong to?
コメントを表示 · 投稿日時:2021年12月23日 · Pan Vivian
0
フォロワー
0
投票
0
コメント
Pan Vivianさんがコメントを作成しました:
Our plan is professional plan. Can we change the theme template for an article, section, or category in our help center?
コメントを表示 · 投稿日時:2021年12月23日 · Pan Vivian
0
フォロワー
0
投票
0
コメント
Pan Vivianさんがコメントを作成しました:
I have a question while using zendesk help center. How can we know which user segment the end user belong in help center? I need user segment id in our product.
コメントを表示 · 投稿日時:2021年12月10日 · Pan Vivian
0
フォロワー
0
投票
0
コメント