- User Routes
- Get User by ID
User Routes
Get User by ID
Get a user by their id.
GET
/api/v2/users/{user_id}
client_id*
api_key*
curl --request GET \
--url https://api.senddotssandbox.com/api/v2/users/{user_id} \
--header 'Authorization: Basic AUTH_VALUE'
Parameters
user_idRequired
string
Id of the user to fetch
Response
id
string
first_name
string
last_name
string
email
string
phone_number
object
wallet
object
compliance
object
metadata
string | object | null
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
curl --request GET \
--url https://api.senddotssandbox.com/api/v2/users/{user_id} \
--header 'Authorization: Basic AUTH_VALUE'