Skip to main content

User APIs

Obtain information about users in your workspace

Grant Lonie avatar
Written by Grant Lonie
Updated over 3 weeks ago

Users perform all operations that pertain to the platform like setting up events, capturing leads and handling workspace administrative operations.

Read Users

Endpoint:

GET https://api.momentifyapp.com/v1/users

Sample Request:

curl -X GET "https://api.momentifyapp.com/v1/users" \
-H "Authorization: [Your API Key]" \
-H"Content-Type:application/json"

Response

Returns a JSON object containing an array of user objects

Sample Response:

{
"totalCount": 1,
"data": [
{
"updatedBy": "4xmBKQzIKlQyNWyUByroIlACfuz1",
"name": "User Name",
"company": "Company Name",
"title": "COO",
"photoUrl": "url to photo",
"updated": 1729704374765,
"email": "email address",
"created": 1741293688361,
"permission": "admin"
},
]
}

Read User

Endpoint:

GET https://api.momentifyapp.com/v1/users/[user id]

Sample Request:

curl -X GET "https://api.momentifyapp.com/v1/users/[user id]" \
-H "Authorization: [Your API Key]" \
-H"Content-Type:application/json"

Response

Returns a JSON object containing an array of user objects

Sample Response:

{
"updatedBy": "user id",
"name": "User Name",
"company": "Company Name",
"title": "COO",
"photoUrl": "url to photo",
"updated": 1729704374765,
"email": "email address",
"created": 1741293688361,
"permission": "admin"
}

Did this answer your question?