Questions tagged [ejabberd-api]
100 questions
0
votes
1 answer
Is there any API to change username of an user
Is there any API to change username of an registerd user. Ejabberd doesn't provide any type of api key to change username so, any way to do this? Maybe a new API written in PHP or ejabberdctl command.

c͓̽o͓̽d͓̽e͓̽x͓̽
- 58
- 6
0
votes
2 answers
Where to get Ejabberd api url and host name
I am going to develop a chat application using ejabberd using ReactJs. I installed ejabberd on our server. I followed the API documentation from the below link.
https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#registered-users
I want to…

KIRAN K J
- 632
- 5
- 28
- 57
0
votes
1 answer
I would like to change jid for ejabberd account
I would like to change jid for ejabberd account. My purpose for changing account jid is to change mobile number of user. My all accounts jid is the telephone number of customer. So for some purpose the user is changing his telephone number.
So I…

Rushika Patel
- 21
- 2
0
votes
2 answers
Ejabberd Authentication
I have my rails app. And whenever user registers, I want to register user on ejabberd node as well. But, whenever i call register API using curl request, it gives be following error:
{"status":"error","code":32,"message":"AccessRules: Account does…

Veer
- 2,071
- 19
- 24
0
votes
1 answer
Unable to understand a crash while adding a field in vcard in ejabberd
I am trying to add a new field in the vcard as “Abc” . For this I added an xml for this “Abc” field in xmpp_codec.spec file. And referenced it in the #vcard_temp. I placed the xmpp_codec.erl,xmpp_codec.hrl, xep0054.erl files thus generated after…

abhishek ranjan
- 612
- 7
- 23
0
votes
1 answer
How to add a recovery email in ejabberd api based
While registering a new account, the user needs to provide username and password on API based registration.
How can we add one more field to add user's email while registering new account on API?

USer
- 1
- 2
0
votes
2 answers
org.apache.xmlrpc.XmlRpcException: Error -118 {error,access_rules_unauthorized}
I m trying to get the response of get_roster in ejabberd through XML-RPC client but I am using ejabberd 18.9 version and it is showing me this error:
org.apache.xmlrpc.XmlRpcException: Error -118 A problem
'{error,access_rules_unauthorized}'…

winkle agarwal
- 1
- 1
0
votes
1 answer
How can i get user avatar using api in ejabbred?
I need to get a user profile image OR avatar using an API from EJABBRED ?
I am using PHP for API.
How can i accomplish that?

vanita patel
- 13
- 2
0
votes
0 answers
ejabberd on kubernetes gke doesn't pass healthcheck
I am trying to run ejabberd on google kubernetes engine. As I am using daemonset as kubernetes resource to deploy manage kubernetes pods of ejabberd, I need to setup custom healthcheck(which must receive status code 200 to be successful) for…

Ahnenerbe
- 303
- 1
- 3
- 16
0
votes
1 answer
How to add members to Multi-User Chat Subscriptions like whatsapp using Admin Rest API
I am trying to create a chat application exactly like WhatsApp using Ejabberd server. I successfully create groups using admin APIs. But I can't add members to it. below is the request format.
http://ejabberd.mysite.com:5281/api/create_room
{
…

Vinayak B
- 4,430
- 4
- 28
- 58
0
votes
1 answer
How to show users of database with Erlang?
I can't query in internal database, with console
ejabberdctl debug
Erlang/OTP 20 [erts-9.3] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10]
Eshell V9.3 (abort with ^G)
(ejabberd@localhost)1>
Is it possible to display the registered users on…

Devid
- 11
- 6
0
votes
2 answers
Ejabberd 17: How to create a hook which is called for offline messages?
I want to create a hook which is called whenever an offline message is created. Example: user-a(online) send a message to user-b(offline). Then as per ejabberd the message is stored and sent when user-b comes online. But in this situation, I want to…

Vishesh Madhusudhana
- 89
- 1
- 10
0
votes
1 answer
Need to setup ejabberd for API call
I need to get response on this URL:
https://[host IP]:8088/api/admin
I tried so many different configs so you might see extra stuff commented out.
I can easily access the web page, the only issue is, I cannot call admin api from application. No…

Taha
- 123
- 1
- 7
0
votes
1 answer
How to send message in muc group using ejabberd API?
I know using " ejabberdctl send_message groupchat user1@localhost room1@conference.localhost Sub Bodyyy" this command we can send group messages. But how to implement the same using HTTP API that ejabbered provides (here)? Is it possible? Else what…

Vishesh Madhusudhana
- 89
- 1
- 10
0
votes
1 answer
what does feature not implemented response mean
I am trying to send a custom IQ to ejabberd server from android app and I have this following class
public class IQCustom extends IQ {
public final static String childElementName = "query";
public final static String childElementNamespace…

abhishek ranjan
- 612
- 7
- 23