Discourse Glitch API Discussion thread

Im looking into retrieving data from the API and use Puppeteer to send messages.

1 Like

Doesn’t the Discourse API need authentication?

Sorry, I’m talking about the API that isn’t publicly documented

We’re talking about the Discourse API, right?

Yeah, they have two APIs, one publicly documented, and one private API.

How is the Private API accessed?

It sends a session cookie when it attempts to access the private API, the private API starts with /presence iirc There are different endpoints for it.

1 Like

I might create a guide on it, I’m a bit unsure of wheter or not I have the time for it.

Actually, I was wrong!!! It is the public API but without an authentication token, it contains a session token instead!

1 Like

Wait, can you tell me how to obtain a public API key? Because https://support.glitch.com/user-api-key/new.

We don’t get to make them, we have session IDs which is obtained by logging into github.

2 Likes

test test test test 

I CAN FINALLY RECEIVE EMAILS!

1 Like

Better edit your post, before someone flags it as inappropriate.

Thx, I got a bit overjoyed :joy:

1 Like

I can understand that and relate to that :joy:

Only problem is I can’t get the contents of the emails, I’m still working on that :joy: But I got the emails delivered at least.

Spent 4 hours on that :joy:

1 Like

I can wait 4 more hours for getting the contents of the email, no problem.

XD    

Is someone willing to send me a couple of emails on my reqest? it doesn’t matter what the content is, I just need to test the server so I can receive the mail body.

1 Like