Skip to main content
The First Step
June 2, 2017
Question

GLIP API POST Message not found

Hi ,


I am trying to post message to glip group chat using curl command but I am getting always {"message":"Not Found"}.

I have given Glip permission under Settings -> Oauth Settings -> Permission Needed


Below is the command which I am using:


curl -H "Content-Type: application/json" -H "Authorization: Bearer $token" -X POST https://platform.devtest.ringcentral.com/restapi/v1.0/glip/posts -d'{ "groupId":"52626304005","text":"Hi there! Test message"}'

3 replies

New Participant
June 2, 2017
Hi, Pratap. 

Are you sure, that group with id '52626304005' does exists?
Could you, please, provide list of your groups? (GET /restapi/v1.0/glip/groups)

Best regards,
Alexey Sobolev
pratap-sThe First StepAuthor
The First Step
June 2, 2017
Hi Alexey,

Getting this curl -XGET -i -H "Content-Type: application/json" -H "Authorization: Bearer $token" 'https://platform.devtest.ringcentral....'

HTTP/1.1 404 Not Found
Server: nginx/1.10.2
Date: Fri, 02 Jun 2017 10:43:09 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 23
Connection: keep-alive
ETag: W/"17-5mp6bJHiwmgD8/Sf63qIPw"
X-Server-Name: sjc06-c01-hlb01
X-Request-Time: 0.080
X-Upstream-Server: 10.24.21.167:56314
X-Upstream-Status: 404
X-Upstream-HTime: 0.080
X-Upstream-RTime: 1496400189.474
X-Upstream-CTime: 0.000
X-Tcpinfo: 1000, 500, 10, 28960
X-Rate-Limit-Group: light
X-Rate-Limit-Limit: 50
X-Rate-Limit-Remaining: 49
X-Rate-Limit-Window: 60
RoutingKey: SJC11P01
RCRequestId: 44db02fa-4780-11e7-bf71-005056bb594d

{"message":"Not Found"}
New Participant
June 2, 2017
Oh, ok.Our API is working only for users already registered in Glip (It's temporary limitation).
So you need to sign up via RC in Glip (https://glip.devtest.ringcentral.com/). And after that API will start working.

Best regards,
Alexey Sobolev