How to access GraphQL APIs from twenty ?

How to access GraphQL APIs from twenty ? I've managed to selfhost it and created the API key Have entered the 'Other', 'IP:3000' and key Cant think of what is going wrong
No description
15 Replies
jonathan8575
jonathan8575OP4mo ago
+ why does accessing APIs should bring to twenty website ? and not on my hosted IP itself this community is dead with no response or what ?
solomonakuson
solomonakuson4mo ago
I'm having this same issue now
charles
charles4mo ago
Hi @jonathan8575, it seems that your server is not answering. What is your setup? Are you looking to self-host or to contribute?
jonathan8575
jonathan8575OP4mo ago
self-host im able to use the UI but simply cannot get to see how to access graphql
thomast
thomast4mo ago
Hi @jonathan8575, could you provide the steps you followed for self hosting?
jonathan8575
jonathan8575OP4mo ago
have mentioned it above already I so want to try and stick to it - but getting answers from twenty team has been hard and slow
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
@jonathan8575 generate key in Settings > Developers, copy it, in GraphQL API set { "Authorization": "Bearer your_key"; } and you're set Better solution is to use web interface which interacts directly with your local host (not sure how it's done but it works) which is under https://twenty.com/developers/ And don't be harsh on Twenty team, they're humans too Also, FYI, local GraphQL has only Metadata queries and mutations, you can't access the Core queries and mutations this way (@charles is that expected?)
thomast
thomast4mo ago
have mentioned it above already
Nope, we need to know what doc and steps you did follow so we can help you to debug. Did you follow one of these? https://twenty.com/developers Do you use docker or did you setup locally?
Twenty - Docs
Twenty is a CRM designed to fit your unique business needs.
jonathan8575
jonathan8575OP4mo ago
Using docker on hetzner and had run the bash script from ur site which set it up
charles
charles4mo ago
@jonathan8575 so the app is properly running but you want to use the API direclty? graphql or rest? Sorry for the slow answer, I'm just back from PTO
jonathan8575
jonathan8575OP3mo ago
graphql yes the app is totally fine
charles
charles3mo ago
that's weird, if the app is running, the graphql API is running could you share your network tab while running your app? (in developer console from your browser) I would like to see the /graphql calls
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Maybe that's something outside of app's scope and it's strictly related to network problems? Someone asked in discussion why couldn't ask the app hosted on server in local network using docs and that's because docs don't have access to local network, only to device sending requests
jonathan8575
jonathan8575OP3mo ago
sorry folks, we dropped using twenty at the moment
charles
charles3mo ago
ok, no worries!
Want results from more Discord servers?
Add your server