Giter Site home page Giter Site logo

hatamiarash7 / clubhouse-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 2.0 340 KB

API Collection for Clubhouse - Postman

Home Page: https://arash-hatami.ir/clubhouse-api

License: GNU General Public License v3.0

clubhouse api api-documentation postman postman-collection postman-collections hacktoberfest

clubhouse-api's Introduction

Clubhouse API for Postman

logo

Clubhouse is a new type of network based on voice. When you open the app you can see “rooms” full of people talking—all open so you can hop in and out, exploring different conversations.

It's a Postman's Collection to use and test API endpoints of Clubhouse.

Authentication

There is a multi-level authentication by phone number :

  • Check user's status and send verification code via SMS ( or call the person to say verification code )
  • Check verification code and deliver auth_token, access_token and refresh_token

Start

Public Documentation
Public Collection

At first you need to import collection.json ( Or use above links ) and some collection variables :

  • auth_token
  • user_id
  • Phone number
  • Email address

There is a script in Complete request to set auth_token and user_id. Otherwise, enter them manually.

Also, you need to set your phone number and email address.

Endpoints

Authentication

Request Description
Check Check user's status and send verification code via SMS.
Call Call the person and send verification message if SMS not delivered.
Complete Complete phone number authentication. This should return auth_token, access_token, refresh_token, is_waitlisted, ...

User

Request Description
Add email Request for email verification. You only need to do this once.
Settings Receive user's settings.
Me Get your information.
Follow user Follow a user
Unfollow user Unfollow a user
Block user Block a user.
Unblock user Unblock a user.
Followings Get following of the given user_id
Followers Get followers of the given user_id
Online friends List all online friends.
Profile Lookup someone else's profile.
Clubs Get list of clubs the user's in.
Search Search users based on the given query.
Logout Logout from current session.

Channel ( Room )

Request Description
Get channels Get list of channels, based on the server's channel selection algorithm.
Get channel Get information of the given channel.
Create Create a new channel.
End Kick everyone and close the channel. Requires moderator privilege.
Invite user Invite someone to a currently joined channel. It will send a ping notification to the given user_id.
Hide channel Hide/Unhide the channel from the channel list.
Leave channel Leave the given channel.
Join channel Join the given channel.

Club

Request Description
Search Search clubs based on the given query.
Information Get the information about the given club_id
Members Get list of members on the given club_id
Follow Follow a club
Unfollow Unfollow a club

Other

Request Description
Release notes Get release notes
Update Check for app updates
Waitlist status Check whether you're still on a waitlist or not

Support

Donate with Bitcoin Donate with Ethereum

ko-fi

Contributing

Don't be shy to be a contributor 😉

  1. Fork it !
  2. Create your feature branch : git checkout -b my-new-feature
  3. Commit your changes : git commit -am 'Add some feature'
  4. Push to the branch : git push origin my-new-feature
  5. Submit a pull request

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them.

clubhouse-api's People

Contributors

hatamiarash7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ahm22004 cjpluser

clubhouse-api's Issues

update bio

hello sir how should we update the bio ? there is no api for this section
how about update profile image?

Getting Wrong Response

Hi,

I have generated an auth token using my phone number then I'm calling the following API by using my auth token and username.

https://www.clubhouseapi.com/api/get_channels

I'm getting the following response.

{
"detail": "You do not have permission to perform this action."
}

But I'm expecting a list of rooms. Could you please help? But I'm doing wrong.

Thanks in advance

Authentication/Check not providing verification code text.

I was testing this out and found a discrepancy between your example and the actual.

When running the Authentication/Check call I received the following response body.

{
"success": true,
"is_blocked": false,
"error_message": null,
"send_rc_token": false
}

Notice the "send_rc_token":false that isn't in your example response. Additionally I'm not getting the expected SMS text with the verification code.

However if I go to the app on my phone and logout/login I can trigger the SMS text and then take that verification code and plug it in to your Authentication/Complete call and it works fine.

Any idea what has changed on the Authentication/Check call that keeping the SMS text from being sent? It seems like once authenticated everything else still works as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.