REST API

Status
Not open for further replies.

mr 360

New User
Joined
Mar 3, 2021
Messages
12
Reaction score
0
Hi I am a beginer for this 3cx platform,
i could not understand this crm template
but i try create contact via postman rest api but no response here
i am trying this code
method : POST
url : https://myname.3cx.in/api/v2/contacts

what is the way for creating contact and get access tokens,and get contact
please help me

3cxquery.jpeg
 
It's not that simple, first in order to get or post you must be logged in to the pbx, to login you send a post request with your admin username and password, this will give you a cookie, now you can make a get or post request. How this is done varies depending on the markup language you are working with. I use PHP and can help you out if you want.
 
  • Like
Reactions: Evolute IT
It's not that simple, first in order to get or post you must be logged in to the pbx, to login you send a post request with your admin username and password, this will give you a cookie, now you can make a get or post request. How this is done varies depending on the markup language you are working with. I use PHP and can help you out if you want.
Hi sir ,
get cokie and create contact (ordered)
please send your php code sir
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,476
Latest member
awan05