Recent searches


No recent searches

Pan Vivian's Avatar

Pan Vivian

Joined Dec 10, 2021

·

Last activity Jan 16, 2022

Following

0

Followers

0

Total activity

10

Vote

1

Subscriptions

3

ACTIVITY OVERVIEW

Latest activity by Pan Vivian

Pan Vivian commented,

Community comment Developer - Zendesk APIs

Andrey Metelsky

Hi  have you received response from Zendesk support? Can you share it to me? Thanks.

View comment · Posted Jan 16, 2022 · Pan Vivian

0

Followers

0

Votes

0

Comments


Pan Vivian commented,

Community comment Developer - Zendesk APIs

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

View comment · Posted Jan 13, 2022 · Pan Vivian

0

Followers

0

Votes

0

Comments


Pan Vivian commented,

Community comment 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));
});

View comment · Posted Jan 13, 2022 · Pan Vivian

0

Followers

2

Votes

0

Comments


Pan Vivian commented,

CommentSetting 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?

View comment · Posted Dec 23, 2021 · Pan Vivian

0

Followers

0

Votes

0

Comments


Pan Vivian commented,

CommentUsing 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?

View comment · Posted Dec 23, 2021 · Pan Vivian

0

Followers

0

Votes

0

Comments


Pan Vivian commented,

CommentSetting 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.

View comment · Posted Dec 10, 2021 · Pan Vivian

0

Followers

0

Votes

0

Comments