User API
Last updated
Last updated
POST
https://www.cotter.app/api/v0/user/create
Create a User during registration
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Example Curl Request:
GET
https://www.cotter.app/api/v0/user?identifier=<identifier>
Get a User
object using your user's identifier.
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)
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
API_KEY_ID
string
Your API_KEY_ID
Content-Type
string
application/json
identifier
string
An identifier for the user, like email, phone number, or username
identifier
string
The identifier for the user, like the email, phone, or username that was used to create the user.
API_KEY_ID
string
Your API_KEY_ID
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.
API_SECRET_KEY
string
Your API_SECRET_KEY
API_KEY_ID
string
Your API_KEY_ID