최근 검색
최근 검색 없음

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
댓글