User API
Create a User
POST
https://www.cotter.app/api/v0/user/create
Create a User during registration
Headers
API_KEY_ID
string
Your API_KEY_ID
Content-Type
string
application/json
Request Body
identifier
string
An identifier for the user, like email, phone number, or username
Example Curl Request:
Get User
GET
https://www.cotter.app/api/v0/user?identifier=<identifier>
Get a User
object using your user's identifier.
Query Parameters
identifier
string
The identifier for the user, like the email, phone, or username that was used to create the user.
Headers
API_KEY_ID
string
Your API_KEY_ID
Get All Users
GET
https://www.cotter.app/api/v0/user/list?page=0
Get a list of Users
that is registered under your API Key. This endpoint is paginated, each page returns 50 records, ordered by created_at
descendant (newest user shows up first)
Query Parameters
page
number
The page number that you want to access. Page numbers start from 0. Each page retrieves 50 records, ordered by created_at
descendant.
Headers
API_SECRET_KEY
string
Your API_SECRET_KEY
API_KEY_ID
string
Your API_KEY_ID
Last updated