curl --request GET \
--url https://api.dualship.run/api/v1/me \
--header 'Authorization: Bearer <token>'{
"avatar_url": "<string>",
"created_at": "<string>",
"email": "<string>",
"first_name": "<string>",
"id": "<string>",
"last_name": "<string>",
"metadata": {},
"updated_at": "<string>",
"workspaces": [
{
"created_at": "<string>",
"id": "<string>",
"logo_url": "<string>",
"name": "<string>",
"plan": {
"limits": {
"additional_seat_price": 123,
"executions_per_month": 123,
"flows": 123,
"included_seats": 123,
"log_retention_days": 123,
"nodes_per_flow": 123,
"workspaces": 123
},
"name": "<string>",
"slug": "<string>"
},
"slug": "<string>"
}
]
}Get the authenticated user’s profile information including workspaces and their plans
curl --request GET \
--url https://api.dualship.run/api/v1/me \
--header 'Authorization: Bearer <token>'{
"avatar_url": "<string>",
"created_at": "<string>",
"email": "<string>",
"first_name": "<string>",
"id": "<string>",
"last_name": "<string>",
"metadata": {},
"updated_at": "<string>",
"workspaces": [
{
"created_at": "<string>",
"id": "<string>",
"logo_url": "<string>",
"name": "<string>",
"plan": {
"limits": {
"additional_seat_price": 123,
"executions_per_month": 123,
"flows": 123,
"included_seats": 123,
"log_retention_days": 123,
"nodes_per_flow": 123,
"workspaces": 123
},
"name": "<string>",
"slug": "<string>"
},
"slug": "<string>"
}
]
}Was this page helpful?