Beautiful Flow Chart

Instagram Story Post Design Template

elegant instagram story post design template for product sale party instagram story post design psd template premium psd sleek vintage promotional instagram story post design template free modern two tone advertising instagram story post design template free eye catching medical promotional instagram story post design template best collection instagram story post design template free design template elegant indian wedding invitation instagram story design psd templates eye catching medical promotional instagram story post design template extraordinary coffee instagram story post design template free design bright minimalist instagram advertising story post design template premium wavy two tone instagram story post design template free scratched texture promotional instagram story post design template dotted line circle collage instagram story post design template free fitness gym instagram story post design template free design template premium psd instagram story post design template cheerful geometric visual instagram story post design template free medical center promotional instagram story post design template free yoga course instagram story post design template free design template two tone basic collage instagram story post design template free coffee shop instagram story post design template free design template trendy outfit with straw hat instagram story post design template modern menswear instagram story post design template free design template modern textured advertising instagram story post design template free impactful ad restaurant instagram story post design template free coffee shop promotional instagram story post design template free modern masculine fashion instagram story post design template free valentines day new instagram story post design and new social media scratch black and red commercial instagram story post design template eye catching medical promotional instagram story post design template 3 stripes sleek collage instagram story post design template free best collection instagram story post design template free design template blue collage instagram story post design template free design template coffee time instagram story post design template free design template spa center orange advertising instagram story post design template minimalist black and white collage instagram story post design template new post instagram story template special food facebook story post design instagram story post design best taste coffee instagram story post design template free design cheerful geometric visual instagram story post design template free scratched texture advertising instagram post design template free personality traits fun and interactive checklist instagram story post dashing blue wavy marketing instagram story post design template free best winter jacket for men instagram story post design template extraordinary coffee instagram post design template free design template minimalist circles collage instagram story post design template free geometric modern advertisement instagram story post design template this or that bridal dress wedding gown comparison instagram story post coffee time promotional instagram story post design template free impactful yellow scratch instagram story post design template free extraordinary cappuccino instagram story post design template free impactful yellow bright textured instagram story post design template never give up fitness instagram story post design template free special food menu instagram story post design template free design instagram story mockup generator mockupduck premium vector food facebook story post design instagram story post impactful ad restaurant instagram story post design template free blank instagram post layout minimalist template with icons for custom premium vector fashion instagram story post design red and black textured instagram story post design template free premium vector digital marketing instagram story post design

:
Best Reward Credit Cards
add whoami endpoint
1 parent Business Credit Card Form With Terms commit 0a0acbb

Sleek vintage promotional instagram story post design template free 4 files changed Special food menu instagram story post design template free design

Lines changed: 64 additions & 2 deletions

Post Mockup Instagram Story Design Template

β€Žv3/README.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ in [Quick start](#quick-start) above.
143143
| Method | Endpoint | Token cost | Description |
144144
| --- | --- | --- | --- |
145145
| `GET` | [`/users`](reference/users.md#list-all-users) | 1 | List all users |
146+
| `GET` | [`/users/whoami`](reference/users.md#get-current-user) | 1 | Get current user |
146147
| `GET` | [`/users/{user_id}`](reference/users.md#get-a-user) | 1 | Get a user |
147148
| `GET` | [`/users/{user_id}/active_state`](reference/users.md#get-user-active-state) πŸ”’ | 1 | Get user active state |
148149
| `POST` | [`/users/{user_id}/active_state`](reference/users.md#set-user-active-state) πŸ”’ | 10 | Set user active state |

β€Žv3/guides/getting-started.mdβ€Ž

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,30 @@ responses, carry no `meta`):
3838
{ "error": "INVALID API KEY" }
3939
```
4040

41-
## 3. Authenticate every request
41+
## 3. See which account your key belongs to
42+
43+
The `GET /users/whoami` endpoint returns the identity behind your key β€” your
44+
user id, email, company user group, and root company. Use it to confirm a key
45+
maps to the account you expect. It costs **1 token**.
46+
47+
```sh
48+
curl "https://katapultpro.com/api/v3/users/whoami?api_key=YOUR_API_KEY"
49+
```
50+
51+
```json
52+
{
53+
"status": "success",
54+
"data": {
55+
"uid": "-O_userAbc123",
56+
"email": "you@example.com",
57+
"user_group": "-O_companyXyz",
58+
"root_company": "-O_rootCompany"
59+
},
60+
"meta": { "token_count": 9999, "last_refill_time": 1718450000000 }
61+
}
62+
```
63+
64+
## 4. Authenticate every request
4265

4366
Every endpoint takes your key as the `api_key` query parameter. There are no
4467
headers or tokens to manage β€” just append `api_key` to the URL. For example, to
@@ -61,7 +84,7 @@ curl "https://katapultpro.com/api/v3/jobs?api_key=YOUR_API_KEY"
6184
Successful route responses follow the same envelope: a `status` of `success`,
6285
the payload under `data`, and a `meta` object.
6386

64-
## 4. Read the token `meta` on every response
87+
## 5. Read the token `meta` on every response
6588

6689
Every response from a route handler β€” both successes **and** errors β€” includes a
6790
`meta` object describing your token-bucket state:

β€Žv3/openapi.yamlβ€Ž

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,25 @@ paths:
10811081
items: { $ref: '#/components/schemas/UserListItem' }
10821082
default: { $ref: '#/components/responses/Error' }
10831083

1084+
/users/whoami:
1085+
get:
1086+
tags: [Users]
1087+
operationId: whoAmI
1088+
summary: Get current user
1089+
description: Returns the authenticated caller's own identity β€” the `uid`, `email`, `user_group` (the caller's active company), and `root_company` tied to the API key. Available to any authenticated caller; no admin required. Useful for confirming which account an API key belongs to.
1090+
x-token-cost: 1
1091+
responses:
1092+
'200':
1093+
description: The caller's identity.
1094+
content:
1095+
application/json:
1096+
schema:
1097+
allOf:
1098+
- $ref: '#/components/schemas/SuccessEnvelope'
1099+
- properties:
1100+
data: { $ref: '#/components/schemas/WhoAmI' }
1101+
default: { $ref: '#/components/responses/Error' }
1102+
10841103
/users/{user_id}:
10851104
parameters:
10861105
- $ref: '#/components/parameters/UserId'
@@ -1800,6 +1819,14 @@ components:
18001819
- $ref: '#/components/schemas/UserListItem'
18011820
- properties:
18021821
metadata: { type: [object, 'null'], additionalProperties: true }
1822+
WhoAmI:
1823+
type: object
1824+
description: The authenticated caller's own identity, tied to their API key.
1825+
properties:
1826+
uid: { type: string, description: The caller's user id. }
1827+
email: { type: [string, 'null'] }
1828+
user_group: { type: string, description: The caller's company user group id. }
1829+
root_company: { type: [string, 'null'], description: The caller's root company id. }
18031830

18041831
responses:
18051832
Error:

β€Žv3/reference/users.mdβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ record require **company admin**; you can always read your own record.
99
| Method | Endpoint | Token cost | Description |
1010
| --- | --- | --- | --- |
1111
| `GET` | [`/users`](#list-all-users) | 1 | List all users |
12+
| `GET` | [`/users/whoami`](#get-current-user) | 1 | Get current user |
1213
| `GET` | [`/users/{user_id}`](#get-a-user) | 1 | Get a user |
1314
| `GET` | [`/users/{user_id}/active_state`](#get-user-active-state) πŸ”’ | 1 | Get user active state |
1415
| `POST` | [`/users/{user_id}/active_state`](#set-user-active-state) πŸ”’ | 10 | Set user active state |
@@ -23,6 +24,16 @@ GET https://katapultpro.com/api/v3/users
2324

2425
Lists all users (including external users) in the caller's active company. Requires the caller to be a **company admin**.
2526

27+
### Get current user
28+
29+
```sh
30+
GET https://katapultpro.com/api/v3/users/whoami
31+
```
32+
33+
**Token cost:** 1
34+
35+
Returns the authenticated caller's own identity β€” the `uid`, `email`, `user_group` (the caller's active company), and `root_company` tied to the API key. Available to any authenticated caller; no admin required. Useful for confirming which account an API key belongs to.
36+
2637
### Get a user
2738

2839
```sh

Product Page Layout Instagram Story Post Design Template

Comments
Β (0)