最近搜索


没有最近搜索

Pan Vivian's Avatar

Pan Vivian

已加入2021年12月10日

·

最后活动2022年1月16日

关注

0

关注者

0

活动总数

10

投票

1

订阅

3

活动概览

的最新活动 Pan Vivian

Pan Vivian 进行了评论,

社区评论 Developer - Zendesk APIs

Andrey Metelsky

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 进行了评论,

社区评论 Developer - Zendesk APIs

Can anyone help me? I am not sure what to do now.

查看评论 · 已于 2022年1月13日 发布 · Pan Vivian

0

关注者

0

投票

0

评论


Pan Vivian 进行了评论,

社区评论 Developer - Zendesk APIs

@Tipene Hughes 

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 进行了评论,

评论Setting Guide roles and permissions

@...  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 进行了评论,

评论Using themes and customizing your Help Center

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 进行了评论,

评论Setting Guide roles and permissions

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

评论