curl --request GET \
--url https://api.withampersand.com/v1/my-info
{
"builder": {
"id": "builder-id-123",
"idpProvider": "clerk",
"idpRef": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"fullName": "<string>",
"primaryEmail": "<string>"
},
"projectRoles": {},
"orgRole": {
"role": "admin",
"principalType": "team",
"principalId": "builder-id-123",
"org": {
"id": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
"label": "Acme Inc",
"defaultTeamId": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z"
}
}
}
Information about the current user and their organizations and projects
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.withampersand.com/v1/my-info
{
"builder": {
"id": "builder-id-123",
"idpProvider": "clerk",
"idpRef": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"fullName": "<string>",
"primaryEmail": "<string>"
},
"projectRoles": {},
"orgRole": {
"role": "admin",
"principalType": "team",
"principalId": "builder-id-123",
"org": {
"id": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
"label": "Acme Inc",
"defaultTeamId": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z"
}
}
}
curl --request GET \
--url https://api.withampersand.com/v1/my-info
{
"builder": {
"id": "builder-id-123",
"idpProvider": "clerk",
"idpRef": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"fullName": "<string>",
"primaryEmail": "<string>"
},
"projectRoles": {},
"orgRole": {
"role": "admin",
"principalType": "team",
"principalId": "builder-id-123",
"org": {
"id": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
"label": "Acme Inc",
"defaultTeamId": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z"
}
}
}
Information about the current user and their organizations and projects
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.withampersand.com/v1/my-info
{
"builder": {
"id": "builder-id-123",
"idpProvider": "clerk",
"idpRef": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"fullName": "<string>",
"primaryEmail": "<string>"
},
"projectRoles": {},
"orgRole": {
"role": "admin",
"principalType": "team",
"principalId": "builder-id-123",
"org": {
"id": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
"label": "Acme Inc",
"defaultTeamId": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z"
}
}
}