Fortrip
HTTP APIReference

Signed-in account

The signed-in user the access token belongs to: their id, email and name.

GET
/v1/me

Authorization

bearerAuth
headerAuthorizationBearer <token>

A Fortrip OAuth access token from the device authorization flow (RFC 8628). GET /v1/auth/config returns the flow's endpoints.

Response Body

Signed-in account

application/json
  1. response
userId*string
email*string|null
name*string|null
[key: string]?unknown
Example Request
curl -X GET 'https://api.fortrip.ai/v1/me'
Example Response
{  "userId": "string",  "email": "string",  "name": "string",  "property1": null,  "property2": null}