Skip to content
Sign in Waitlist

OAuth callback

GET /connections/:network/callback public

Where YouTube, TikTok and Meta send the browser back after login (an HTML page). Previously registered redirect URLs keep working.

Legacy Portuguese alias (still answered, marked as deprecated): /conexoes/:rede/retorno.

Parameters

Name In Description
network path Network: youtube, instagram or tiktok.

Example

curl "https://praeko.app/connections/youtube/callback"

Response

Success status When
200 Success.

A short HTML page ("Done", "Authorization denied", "Link expired"…) for the browser of whoever authorized. It is not JSON: the result also shows up in GET /v1/channels.

Example read from the codeThis route cannot be called in our tests without a real provider (Buffer, a video on YouTube, TikTok…), so the example was written by reading the server code. The other responses come from real calls to the test server.

Errors

No errors specific to this route besides the common ones.

Question or mistake on this page? contato@praeko.appView .md

Type to search pages, routes and error codes.