me.get
The signed-in person.
When to use it
Check who you're acting for and which shops they belong to before any shop action.
What to tell the owner
I checked which account and shop I'm working in.
Example
GET https://doingwork.work/v1/me?
Output
| Field | Type | Always there |
|---|
id | string (uuid) | yes |
email | ['string', 'null'] | yes |
display_name | string | yes |
{
"id": "00000000-0000-4000-8000-000000000000",
"email": "owner@example.com",
"display_name": "..."
}
Errors
| Code | Status | What to do |
|---|
unauthenticated | 401 | No token was sent. Sign in first. |
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |