How to authenticate · OpenAPI spec for these endpoints
/api/v1/users/current.json
Returns information about the currently authenticated user
x-rwgps-api-key
string
required
x-rwgps-auth-token
string
required
user
object
id
integer
name
string
created_at
date-time
updated_at
date-time
curl \
-H "x-rwgps-api-key: $API_KEY" \
-H "x-rwgps-auth-token: $AUTH_TOKEN" \
https://ridewithgps.com/api/v1/users/current.json
{
"user": {
"id": 123,
"name": "Alex Rider",
"created_at": "2000-01-01T12:00:00Z",
"updated_at": "2000-01-01T12:00:00Z"
}
}