@workos/openapi-spec 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/open-api-spec.yaml +1248 -184
- package/package.json +1 -1
- package/types.d.ts +1294 -130
package/open-api-spec.yaml
CHANGED
|
@@ -1635,6 +1635,27 @@ paths:
|
|
|
1635
1635
|
`after` fetches newer records). Defaults to descending.
|
|
1636
1636
|
schema:
|
|
1637
1637
|
$ref: '#/components/schemas/PaginationOrder'
|
|
1638
|
+
- name: resource_id
|
|
1639
|
+
required: false
|
|
1640
|
+
in: query
|
|
1641
|
+
description: Filter assignments by the ID of the resource.
|
|
1642
|
+
schema:
|
|
1643
|
+
example: authz_resource_01HXYZ123456789ABCDEFGH
|
|
1644
|
+
type: string
|
|
1645
|
+
- name: resource_external_id
|
|
1646
|
+
required: false
|
|
1647
|
+
in: query
|
|
1648
|
+
description: Filter assignments by the external ID of the resource.
|
|
1649
|
+
schema:
|
|
1650
|
+
example: project-ext-456
|
|
1651
|
+
type: string
|
|
1652
|
+
- name: resource_type_slug
|
|
1653
|
+
required: false
|
|
1654
|
+
in: query
|
|
1655
|
+
description: Filter assignments by the slug of the resource type.
|
|
1656
|
+
schema:
|
|
1657
|
+
example: project
|
|
1658
|
+
type: string
|
|
1638
1659
|
responses:
|
|
1639
1660
|
'200':
|
|
1640
1661
|
description: OK
|
|
@@ -3474,6 +3495,13 @@ paths:
|
|
|
3474
3495
|
`after` fetches newer records). Defaults to descending.
|
|
3475
3496
|
schema:
|
|
3476
3497
|
$ref: '#/components/schemas/PaginationOrder'
|
|
3498
|
+
- name: role_slug
|
|
3499
|
+
required: false
|
|
3500
|
+
in: query
|
|
3501
|
+
description: Filter assignments by the slug of the role.
|
|
3502
|
+
schema:
|
|
3503
|
+
example: editor
|
|
3504
|
+
type: string
|
|
3477
3505
|
responses:
|
|
3478
3506
|
'200':
|
|
3479
3507
|
description: OK
|
|
@@ -3984,13 +4012,6 @@ paths:
|
|
|
3984
4012
|
schema:
|
|
3985
4013
|
type: string
|
|
3986
4014
|
example: ext-workspace-123
|
|
3987
|
-
- name: search
|
|
3988
|
-
required: false
|
|
3989
|
-
in: query
|
|
3990
|
-
description: Search resources by name.
|
|
3991
|
-
schema:
|
|
3992
|
-
type: string
|
|
3993
|
-
example: Website Redesign
|
|
3994
4015
|
responses:
|
|
3995
4016
|
'200':
|
|
3996
4017
|
description: OK
|
|
@@ -4778,6 +4799,13 @@ paths:
|
|
|
4778
4799
|
`after` fetches newer records). Defaults to descending.
|
|
4779
4800
|
schema:
|
|
4780
4801
|
$ref: '#/components/schemas/PaginationOrder'
|
|
4802
|
+
- name: role_slug
|
|
4803
|
+
required: false
|
|
4804
|
+
in: query
|
|
4805
|
+
description: Filter assignments by the slug of the role.
|
|
4806
|
+
schema:
|
|
4807
|
+
example: editor
|
|
4808
|
+
type: string
|
|
4781
4809
|
responses:
|
|
4782
4810
|
'200':
|
|
4783
4811
|
description: OK
|
|
@@ -5805,6 +5833,7 @@ paths:
|
|
|
5805
5833
|
value.
|
|
5806
5834
|
example: abc123
|
|
5807
5835
|
last_used_at:
|
|
5836
|
+
format: date-time
|
|
5808
5837
|
type:
|
|
5809
5838
|
- string
|
|
5810
5839
|
- 'null'
|
|
@@ -8963,6 +8992,25 @@ paths:
|
|
|
8963
8992
|
application/json:
|
|
8964
8993
|
schema:
|
|
8965
8994
|
$ref: '#/components/schemas/Group'
|
|
8995
|
+
'400':
|
|
8996
|
+
description: Bad Request
|
|
8997
|
+
content:
|
|
8998
|
+
application/json:
|
|
8999
|
+
schema:
|
|
9000
|
+
type: object
|
|
9001
|
+
properties:
|
|
9002
|
+
code:
|
|
9003
|
+
type: string
|
|
9004
|
+
description: The error code identifying the type of error.
|
|
9005
|
+
example: group_membership_limit_exceeded
|
|
9006
|
+
const: group_membership_limit_exceeded
|
|
9007
|
+
message:
|
|
9008
|
+
type: string
|
|
9009
|
+
description: A human-readable description of the error.
|
|
9010
|
+
example: Request could not be processed.
|
|
9011
|
+
required:
|
|
9012
|
+
- code
|
|
9013
|
+
- message
|
|
8966
9014
|
'403':
|
|
8967
9015
|
description: Forbidden
|
|
8968
9016
|
content:
|
|
@@ -9279,26 +9327,12 @@ paths:
|
|
|
9279
9327
|
description: The authentication method being used.
|
|
9280
9328
|
example: Password
|
|
9281
9329
|
action:
|
|
9330
|
+
description: The action being performed.
|
|
9331
|
+
example: sign-in
|
|
9282
9332
|
type: string
|
|
9283
9333
|
enum:
|
|
9284
|
-
- login
|
|
9285
|
-
- signup
|
|
9286
9334
|
- sign-up
|
|
9287
9335
|
- sign-in
|
|
9288
|
-
- sign_up
|
|
9289
|
-
- sign_in
|
|
9290
|
-
- sign in
|
|
9291
|
-
- sign up
|
|
9292
|
-
description: The action being performed.
|
|
9293
|
-
example: login
|
|
9294
|
-
device_fingerprint:
|
|
9295
|
-
type: string
|
|
9296
|
-
description: An optional device fingerprint for the request.
|
|
9297
|
-
example: fp_abc123
|
|
9298
|
-
bot_score:
|
|
9299
|
-
type: string
|
|
9300
|
-
description: An optional bot detection score for the request.
|
|
9301
|
-
example: '0.1'
|
|
9302
9336
|
required:
|
|
9303
9337
|
- ip_address
|
|
9304
9338
|
- user_agent
|
|
@@ -9708,8 +9742,8 @@ paths:
|
|
|
9708
9742
|
description: >-
|
|
9709
9743
|
Can be used to pre-fill the username/email address field of the IdP
|
|
9710
9744
|
sign-in page for the user, if you know their username ahead of time.
|
|
9711
|
-
Currently supported for OAuth, OpenID Connect, Okta,
|
|
9712
|
-
connections.
|
|
9745
|
+
Currently supported for OAuth, OpenID Connect, Okta, Entra ID, and
|
|
9746
|
+
custom SAML connections.
|
|
9713
9747
|
- name: nonce
|
|
9714
9748
|
required: false
|
|
9715
9749
|
in: query
|
|
@@ -9774,6 +9808,7 @@ paths:
|
|
|
9774
9808
|
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
9775
9809
|
required:
|
|
9776
9810
|
- message
|
|
9811
|
+
security: []
|
|
9777
9812
|
summary: Get JWKS
|
|
9778
9813
|
tags:
|
|
9779
9814
|
- user-management.session-tokens
|
|
@@ -16110,163 +16145,589 @@ paths:
|
|
|
16110
16145
|
summary: List authentication factors
|
|
16111
16146
|
tags:
|
|
16112
16147
|
- user-management.multi-factor-authentication
|
|
16113
|
-
/
|
|
16148
|
+
/vault/v1/keys/data-key:
|
|
16149
|
+
post:
|
|
16150
|
+
description: Generate an isolated encryption key for local encryption operations.
|
|
16151
|
+
operationId: JumpWireWeb.KeyController.create_data_key
|
|
16152
|
+
parameters: []
|
|
16153
|
+
requestBody:
|
|
16154
|
+
content:
|
|
16155
|
+
application/json:
|
|
16156
|
+
schema:
|
|
16157
|
+
$ref: '#/components/schemas/CreateDataKeyRequest'
|
|
16158
|
+
description: Data key request.
|
|
16159
|
+
required: true
|
|
16160
|
+
responses:
|
|
16161
|
+
'200':
|
|
16162
|
+
content:
|
|
16163
|
+
application/json:
|
|
16164
|
+
schema:
|
|
16165
|
+
$ref: '#/components/schemas/CreateDataKeyResponse'
|
|
16166
|
+
description: Data key.
|
|
16167
|
+
'400':
|
|
16168
|
+
content:
|
|
16169
|
+
application/json:
|
|
16170
|
+
schema:
|
|
16171
|
+
$ref: '#/components/schemas/Error'
|
|
16172
|
+
description: Bad request.
|
|
16173
|
+
'422':
|
|
16174
|
+
content:
|
|
16175
|
+
application/json:
|
|
16176
|
+
schema:
|
|
16177
|
+
$ref: '#/components/schemas/Error'
|
|
16178
|
+
description: Validation error.
|
|
16179
|
+
summary: Create a data key
|
|
16180
|
+
tags:
|
|
16181
|
+
- vault
|
|
16182
|
+
/vault/v1/keys/decrypt:
|
|
16183
|
+
post:
|
|
16184
|
+
description: Decrypt a previously encrypted data key from WorkOS Vault.
|
|
16185
|
+
operationId: JumpWireWeb.KeyController.decrypt
|
|
16186
|
+
parameters: []
|
|
16187
|
+
requestBody:
|
|
16188
|
+
content:
|
|
16189
|
+
application/json:
|
|
16190
|
+
schema:
|
|
16191
|
+
$ref: '#/components/schemas/DecryptRequest'
|
|
16192
|
+
description: Decrypt request.
|
|
16193
|
+
required: true
|
|
16194
|
+
responses:
|
|
16195
|
+
'200':
|
|
16196
|
+
content:
|
|
16197
|
+
application/json:
|
|
16198
|
+
schema:
|
|
16199
|
+
$ref: '#/components/schemas/DecryptResponse'
|
|
16200
|
+
description: Decrypted key.
|
|
16201
|
+
'400':
|
|
16202
|
+
content:
|
|
16203
|
+
application/json:
|
|
16204
|
+
schema:
|
|
16205
|
+
$ref: '#/components/schemas/Error'
|
|
16206
|
+
description: Bad request.
|
|
16207
|
+
summary: Decrypt a data key
|
|
16208
|
+
tags:
|
|
16209
|
+
- vault
|
|
16210
|
+
/vault/v1/keys/rekey:
|
|
16211
|
+
post:
|
|
16212
|
+
description: Decrypt an existing data key and re-encrypt it under a new key context.
|
|
16213
|
+
operationId: JumpWireWeb.KeyController.rekey
|
|
16214
|
+
parameters: []
|
|
16215
|
+
requestBody:
|
|
16216
|
+
content:
|
|
16217
|
+
application/json:
|
|
16218
|
+
schema:
|
|
16219
|
+
$ref: '#/components/schemas/RekeyRequest'
|
|
16220
|
+
description: Rekey request.
|
|
16221
|
+
required: true
|
|
16222
|
+
responses:
|
|
16223
|
+
'200':
|
|
16224
|
+
content:
|
|
16225
|
+
application/json:
|
|
16226
|
+
schema:
|
|
16227
|
+
$ref: '#/components/schemas/CreateDataKeyResponse'
|
|
16228
|
+
description: Re-encrypted key.
|
|
16229
|
+
'400':
|
|
16230
|
+
content:
|
|
16231
|
+
application/json:
|
|
16232
|
+
schema:
|
|
16233
|
+
$ref: '#/components/schemas/Error'
|
|
16234
|
+
description: Bad request.
|
|
16235
|
+
'422':
|
|
16236
|
+
content:
|
|
16237
|
+
application/json:
|
|
16238
|
+
schema:
|
|
16239
|
+
$ref: '#/components/schemas/Error'
|
|
16240
|
+
description: Validation error.
|
|
16241
|
+
summary: Re-encrypt a data key
|
|
16242
|
+
tags:
|
|
16243
|
+
- vault
|
|
16244
|
+
/vault/v1/kv:
|
|
16114
16245
|
get:
|
|
16115
|
-
description:
|
|
16116
|
-
operationId:
|
|
16246
|
+
description: List all encrypted objects with cursor-based pagination.
|
|
16247
|
+
operationId: JumpWireWeb.DataVaultController.index
|
|
16117
16248
|
parameters:
|
|
16118
|
-
-
|
|
16249
|
+
- description: Upper limit on the number of objects to return.
|
|
16250
|
+
in: query
|
|
16251
|
+
name: limit
|
|
16119
16252
|
required: false
|
|
16253
|
+
schema:
|
|
16254
|
+
default: 10
|
|
16255
|
+
example: 10
|
|
16256
|
+
minimum: 1
|
|
16257
|
+
type: integer
|
|
16258
|
+
- description: Cursor for the previous page of results.
|
|
16120
16259
|
in: query
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
present, you are at the end of the list. For example, if you make a
|
|
16124
|
-
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16125
|
-
subsequent call can include `before="obj_123"` to fetch a new batch
|
|
16126
|
-
of objects before `"obj_123"`.
|
|
16260
|
+
name: before
|
|
16261
|
+
required: false
|
|
16127
16262
|
schema:
|
|
16128
|
-
example:
|
|
16263
|
+
example: b21f3a8c-7e4d-4b1a-9c5e-2d8f6a7b3c4e
|
|
16129
16264
|
type: string
|
|
16130
|
-
-
|
|
16131
|
-
required: false
|
|
16265
|
+
- description: Cursor for the next page of results.
|
|
16132
16266
|
in: query
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
present, you are at the end of the list. For example, if you make a
|
|
16136
|
-
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16137
|
-
subsequent call can include `after="obj_123"` to fetch a new batch
|
|
16138
|
-
of objects after `"obj_123"`.
|
|
16267
|
+
name: after
|
|
16268
|
+
required: false
|
|
16139
16269
|
schema:
|
|
16140
|
-
example:
|
|
16270
|
+
example: a10e2b7d-6c3f-4a2b-8d1e-3f9a5b8c7d6e
|
|
16141
16271
|
type: string
|
|
16142
|
-
-
|
|
16143
|
-
required: false
|
|
16272
|
+
- description: Sort direction for results.
|
|
16144
16273
|
in: query
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
`100`.
|
|
16274
|
+
name: order
|
|
16275
|
+
required: false
|
|
16148
16276
|
schema:
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
example:
|
|
16153
|
-
type:
|
|
16154
|
-
-
|
|
16277
|
+
enum:
|
|
16278
|
+
- asc
|
|
16279
|
+
- desc
|
|
16280
|
+
example: desc
|
|
16281
|
+
type: string
|
|
16282
|
+
- description: Filter results by name or structured search JSON.
|
|
16283
|
+
in: query
|
|
16284
|
+
name: search
|
|
16155
16285
|
required: false
|
|
16286
|
+
schema:
|
|
16287
|
+
example: my-secret
|
|
16288
|
+
type: string
|
|
16289
|
+
- description: ISO 8601 timestamp to filter by last modified time.
|
|
16156
16290
|
in: query
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
(ascending), `"desc"` (descending), and `"normal"` (descending with
|
|
16160
|
-
reversed cursor semantics where `before` fetches older records and
|
|
16161
|
-
`after` fetches newer records). Defaults to descending.
|
|
16291
|
+
name: updatedAfter
|
|
16292
|
+
required: false
|
|
16162
16293
|
schema:
|
|
16163
|
-
|
|
16294
|
+
example: '2024-01-01T00:00:00Z'
|
|
16295
|
+
format: date-time
|
|
16296
|
+
type: string
|
|
16164
16297
|
responses:
|
|
16165
16298
|
'200':
|
|
16166
|
-
description: List of webhook endpoints.
|
|
16167
16299
|
content:
|
|
16168
16300
|
application/json:
|
|
16169
16301
|
schema:
|
|
16170
|
-
$ref: '#/components/schemas/
|
|
16171
|
-
|
|
16302
|
+
$ref: '#/components/schemas/ObjectListResponse'
|
|
16303
|
+
description: Object list.
|
|
16304
|
+
'400':
|
|
16305
|
+
content:
|
|
16306
|
+
application/json:
|
|
16307
|
+
schema:
|
|
16308
|
+
$ref: '#/components/schemas/Error'
|
|
16309
|
+
description: Bad request.
|
|
16310
|
+
summary: List objects
|
|
16172
16311
|
tags:
|
|
16173
|
-
-
|
|
16312
|
+
- vault
|
|
16174
16313
|
post:
|
|
16175
|
-
description:
|
|
16176
|
-
operationId:
|
|
16314
|
+
description: Encrypt and store a new key-value object.
|
|
16315
|
+
operationId: JumpWireWeb.DataVaultController.create
|
|
16177
16316
|
parameters: []
|
|
16178
16317
|
requestBody:
|
|
16179
|
-
required: true
|
|
16180
16318
|
content:
|
|
16181
16319
|
application/json:
|
|
16182
16320
|
schema:
|
|
16183
|
-
$ref: '#/components/schemas/
|
|
16321
|
+
$ref: '#/components/schemas/CreateObjectRequest'
|
|
16322
|
+
description: Create object.
|
|
16323
|
+
required: true
|
|
16184
16324
|
responses:
|
|
16185
16325
|
'201':
|
|
16186
|
-
description: Webhook endpoint created successfully.
|
|
16187
16326
|
content:
|
|
16188
16327
|
application/json:
|
|
16189
16328
|
schema:
|
|
16190
|
-
$ref: '#/components/schemas/
|
|
16329
|
+
$ref: '#/components/schemas/ObjectMetadata'
|
|
16330
|
+
description: Object created.
|
|
16331
|
+
'400':
|
|
16332
|
+
content:
|
|
16333
|
+
application/json:
|
|
16334
|
+
schema:
|
|
16335
|
+
$ref: '#/components/schemas/Error'
|
|
16336
|
+
description: Bad request.
|
|
16191
16337
|
'409':
|
|
16192
|
-
description: A Webhook Endpoint with the same endpoint URL already exists.
|
|
16193
16338
|
content:
|
|
16194
16339
|
application/json:
|
|
16195
16340
|
schema:
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
code:
|
|
16199
|
-
type: string
|
|
16200
|
-
description: The error code identifying the type of error.
|
|
16201
|
-
example: duplicate_endpoint
|
|
16202
|
-
const: duplicate_endpoint
|
|
16203
|
-
message:
|
|
16204
|
-
type: string
|
|
16205
|
-
description: A human-readable description of the error.
|
|
16206
|
-
example: Request could not be processed.
|
|
16207
|
-
required:
|
|
16208
|
-
- code
|
|
16209
|
-
- message
|
|
16341
|
+
$ref: '#/components/schemas/Error'
|
|
16342
|
+
description: Conflict.
|
|
16210
16343
|
'422':
|
|
16211
|
-
description: Unprocessable Entity
|
|
16212
16344
|
content:
|
|
16213
16345
|
application/json:
|
|
16214
16346
|
schema:
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
code:
|
|
16219
|
-
type: string
|
|
16220
|
-
description: The error code identifying the type of error.
|
|
16221
|
-
example: invalid_url
|
|
16222
|
-
const: invalid_url
|
|
16223
|
-
message:
|
|
16224
|
-
type: string
|
|
16225
|
-
description: A human-readable description of the error.
|
|
16226
|
-
example: Request could not be processed.
|
|
16227
|
-
required:
|
|
16228
|
-
- code
|
|
16229
|
-
- message
|
|
16230
|
-
- type: object
|
|
16231
|
-
properties:
|
|
16232
|
-
code:
|
|
16233
|
-
type: string
|
|
16234
|
-
description: The error code identifying the type of error.
|
|
16235
|
-
example: invalid_request_parameters
|
|
16236
|
-
const: invalid_request_parameters
|
|
16237
|
-
message:
|
|
16238
|
-
type: string
|
|
16239
|
-
description: A human-readable description of the error.
|
|
16240
|
-
example: Validation failed.
|
|
16241
|
-
errors:
|
|
16242
|
-
type: array
|
|
16243
|
-
items:
|
|
16244
|
-
type: object
|
|
16245
|
-
properties:
|
|
16246
|
-
code:
|
|
16247
|
-
type: string
|
|
16248
|
-
description: The validation error code.
|
|
16249
|
-
example: unknown_event_type
|
|
16250
|
-
message:
|
|
16251
|
-
type: string
|
|
16252
|
-
description: >-
|
|
16253
|
-
A human-readable description of the validation
|
|
16254
|
-
error.
|
|
16255
|
-
example: Invalid enum value.
|
|
16256
|
-
required:
|
|
16257
|
-
- code
|
|
16258
|
-
- message
|
|
16259
|
-
description: The list of validation errors.
|
|
16260
|
-
required:
|
|
16261
|
-
- code
|
|
16262
|
-
- message
|
|
16263
|
-
- errors
|
|
16264
|
-
summary: Create a Webhook Endpoint
|
|
16347
|
+
$ref: '#/components/schemas/Error'
|
|
16348
|
+
description: Validation error.
|
|
16349
|
+
summary: Create an object
|
|
16265
16350
|
tags:
|
|
16266
|
-
-
|
|
16267
|
-
/
|
|
16268
|
-
|
|
16269
|
-
description:
|
|
16351
|
+
- vault
|
|
16352
|
+
/vault/v1/kv/name/{name}:
|
|
16353
|
+
get:
|
|
16354
|
+
description: Fetch and decrypt an object by its unique name.
|
|
16355
|
+
operationId: JumpWireWeb.DataVaultController.show_by_name
|
|
16356
|
+
parameters:
|
|
16357
|
+
- description: Unique name of the object.
|
|
16358
|
+
in: path
|
|
16359
|
+
name: name
|
|
16360
|
+
required: true
|
|
16361
|
+
schema:
|
|
16362
|
+
example: my-secret
|
|
16363
|
+
type: string
|
|
16364
|
+
responses:
|
|
16365
|
+
'200':
|
|
16366
|
+
content:
|
|
16367
|
+
application/json:
|
|
16368
|
+
schema:
|
|
16369
|
+
$ref: '#/components/schemas/Object'
|
|
16370
|
+
description: Object.
|
|
16371
|
+
'400':
|
|
16372
|
+
content:
|
|
16373
|
+
application/json:
|
|
16374
|
+
schema:
|
|
16375
|
+
$ref: '#/components/schemas/Error'
|
|
16376
|
+
description: Bad request.
|
|
16377
|
+
'404':
|
|
16378
|
+
content:
|
|
16379
|
+
application/json:
|
|
16380
|
+
schema:
|
|
16381
|
+
$ref: '#/components/schemas/Error'
|
|
16382
|
+
description: Not found.
|
|
16383
|
+
summary: Read an object by name
|
|
16384
|
+
tags:
|
|
16385
|
+
- vault
|
|
16386
|
+
/vault/v1/kv/{id}:
|
|
16387
|
+
delete:
|
|
16388
|
+
description: Delete an encrypted object.
|
|
16389
|
+
operationId: JumpWireWeb.DataVaultController.delete
|
|
16390
|
+
parameters:
|
|
16391
|
+
- description: Unique identifier of the object.
|
|
16392
|
+
in: path
|
|
16393
|
+
name: id
|
|
16394
|
+
required: true
|
|
16395
|
+
schema:
|
|
16396
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
16397
|
+
type: string
|
|
16398
|
+
- description: Expected current version for optimistic locking.
|
|
16399
|
+
in: query
|
|
16400
|
+
name: version_check
|
|
16401
|
+
required: false
|
|
16402
|
+
schema:
|
|
16403
|
+
example: c3d4e5f6-7890-abcd-ef12-34567890abcd
|
|
16404
|
+
type: string
|
|
16405
|
+
responses:
|
|
16406
|
+
'200':
|
|
16407
|
+
content:
|
|
16408
|
+
application/json:
|
|
16409
|
+
schema:
|
|
16410
|
+
$ref: '#/components/schemas/DeleteObjectResponse'
|
|
16411
|
+
description: Deletion result.
|
|
16412
|
+
'404':
|
|
16413
|
+
content:
|
|
16414
|
+
application/json:
|
|
16415
|
+
schema:
|
|
16416
|
+
$ref: '#/components/schemas/Error'
|
|
16417
|
+
description: Not found.
|
|
16418
|
+
'409':
|
|
16419
|
+
content:
|
|
16420
|
+
application/json:
|
|
16421
|
+
schema:
|
|
16422
|
+
$ref: '#/components/schemas/Error'
|
|
16423
|
+
description: Version mismatch.
|
|
16424
|
+
'500':
|
|
16425
|
+
content:
|
|
16426
|
+
application/json:
|
|
16427
|
+
schema:
|
|
16428
|
+
$ref: '#/components/schemas/Error'
|
|
16429
|
+
description: Internal error.
|
|
16430
|
+
summary: Delete an object
|
|
16431
|
+
tags:
|
|
16432
|
+
- vault
|
|
16433
|
+
get:
|
|
16434
|
+
description: Fetch and decrypt an object by its unique identifier.
|
|
16435
|
+
operationId: JumpWireWeb.DataVaultController.show_by_id
|
|
16436
|
+
parameters:
|
|
16437
|
+
- description: Unique identifier of the object.
|
|
16438
|
+
in: path
|
|
16439
|
+
name: id
|
|
16440
|
+
required: true
|
|
16441
|
+
schema:
|
|
16442
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
16443
|
+
type: string
|
|
16444
|
+
responses:
|
|
16445
|
+
'200':
|
|
16446
|
+
content:
|
|
16447
|
+
application/json:
|
|
16448
|
+
schema:
|
|
16449
|
+
$ref: '#/components/schemas/Object'
|
|
16450
|
+
description: Object.
|
|
16451
|
+
'400':
|
|
16452
|
+
content:
|
|
16453
|
+
application/json:
|
|
16454
|
+
schema:
|
|
16455
|
+
$ref: '#/components/schemas/Error'
|
|
16456
|
+
description: Bad request.
|
|
16457
|
+
'404':
|
|
16458
|
+
content:
|
|
16459
|
+
application/json:
|
|
16460
|
+
schema:
|
|
16461
|
+
$ref: '#/components/schemas/Error'
|
|
16462
|
+
description: Not found.
|
|
16463
|
+
summary: Read an object by ID
|
|
16464
|
+
tags:
|
|
16465
|
+
- vault
|
|
16466
|
+
put:
|
|
16467
|
+
description: Update the value of an existing encrypted object.
|
|
16468
|
+
operationId: JumpWireWeb.DataVaultController.update
|
|
16469
|
+
parameters:
|
|
16470
|
+
- description: Unique identifier of the object.
|
|
16471
|
+
in: path
|
|
16472
|
+
name: id
|
|
16473
|
+
required: true
|
|
16474
|
+
schema:
|
|
16475
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
16476
|
+
type: string
|
|
16477
|
+
requestBody:
|
|
16478
|
+
content:
|
|
16479
|
+
application/json:
|
|
16480
|
+
schema:
|
|
16481
|
+
$ref: '#/components/schemas/UpdateObjectRequest'
|
|
16482
|
+
description: Update object.
|
|
16483
|
+
required: true
|
|
16484
|
+
responses:
|
|
16485
|
+
'201':
|
|
16486
|
+
content:
|
|
16487
|
+
application/json:
|
|
16488
|
+
schema:
|
|
16489
|
+
$ref: '#/components/schemas/ObjectWithoutValue'
|
|
16490
|
+
description: Object updated.
|
|
16491
|
+
'400':
|
|
16492
|
+
content:
|
|
16493
|
+
application/json:
|
|
16494
|
+
schema:
|
|
16495
|
+
$ref: '#/components/schemas/Error'
|
|
16496
|
+
description: Bad request.
|
|
16497
|
+
'409':
|
|
16498
|
+
content:
|
|
16499
|
+
application/json:
|
|
16500
|
+
schema:
|
|
16501
|
+
$ref: '#/components/schemas/Error'
|
|
16502
|
+
description: Version mismatch.
|
|
16503
|
+
summary: Update an object
|
|
16504
|
+
tags:
|
|
16505
|
+
- vault
|
|
16506
|
+
/vault/v1/kv/{id}/metadata:
|
|
16507
|
+
get:
|
|
16508
|
+
description: Fetch metadata for an object without decrypting it.
|
|
16509
|
+
operationId: JumpWireWeb.DataVaultController.describe
|
|
16510
|
+
parameters:
|
|
16511
|
+
- description: Unique identifier of the object.
|
|
16512
|
+
in: path
|
|
16513
|
+
name: id
|
|
16514
|
+
required: true
|
|
16515
|
+
schema:
|
|
16516
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
16517
|
+
type: string
|
|
16518
|
+
responses:
|
|
16519
|
+
'200':
|
|
16520
|
+
content:
|
|
16521
|
+
application/json:
|
|
16522
|
+
schema:
|
|
16523
|
+
$ref: '#/components/schemas/ObjectWithoutValue'
|
|
16524
|
+
description: Object metadata.
|
|
16525
|
+
'400':
|
|
16526
|
+
content:
|
|
16527
|
+
application/json:
|
|
16528
|
+
schema:
|
|
16529
|
+
$ref: '#/components/schemas/Error'
|
|
16530
|
+
description: Bad request.
|
|
16531
|
+
'404':
|
|
16532
|
+
content:
|
|
16533
|
+
application/json:
|
|
16534
|
+
schema:
|
|
16535
|
+
$ref: '#/components/schemas/Error'
|
|
16536
|
+
description: Not found.
|
|
16537
|
+
summary: Describe an object
|
|
16538
|
+
tags:
|
|
16539
|
+
- vault
|
|
16540
|
+
/vault/v1/kv/{id}/versions:
|
|
16541
|
+
get:
|
|
16542
|
+
description: Retrieve all versions for a specific object.
|
|
16543
|
+
operationId: JumpWireWeb.DataVaultController.versions
|
|
16544
|
+
parameters:
|
|
16545
|
+
- description: Unique identifier of the object.
|
|
16546
|
+
in: path
|
|
16547
|
+
name: id
|
|
16548
|
+
required: true
|
|
16549
|
+
schema:
|
|
16550
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
16551
|
+
type: string
|
|
16552
|
+
responses:
|
|
16553
|
+
'200':
|
|
16554
|
+
content:
|
|
16555
|
+
application/json:
|
|
16556
|
+
schema:
|
|
16557
|
+
$ref: '#/components/schemas/VersionListResponse'
|
|
16558
|
+
description: Version list.
|
|
16559
|
+
'400':
|
|
16560
|
+
content:
|
|
16561
|
+
application/json:
|
|
16562
|
+
schema:
|
|
16563
|
+
$ref: '#/components/schemas/Error'
|
|
16564
|
+
description: Bad request.
|
|
16565
|
+
'404':
|
|
16566
|
+
content:
|
|
16567
|
+
application/json:
|
|
16568
|
+
schema:
|
|
16569
|
+
$ref: '#/components/schemas/Error'
|
|
16570
|
+
description: Not found.
|
|
16571
|
+
summary: List object versions
|
|
16572
|
+
tags:
|
|
16573
|
+
- vault
|
|
16574
|
+
/webhook_endpoints:
|
|
16575
|
+
get:
|
|
16576
|
+
description: Get a list of all of your existing webhook endpoints.
|
|
16577
|
+
operationId: WebhookEndpointsController_list
|
|
16578
|
+
parameters:
|
|
16579
|
+
- name: before
|
|
16580
|
+
required: false
|
|
16581
|
+
in: query
|
|
16582
|
+
description: >-
|
|
16583
|
+
An object ID that defines your place in the list. When the ID is not
|
|
16584
|
+
present, you are at the end of the list. For example, if you make a
|
|
16585
|
+
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16586
|
+
subsequent call can include `before="obj_123"` to fetch a new batch
|
|
16587
|
+
of objects before `"obj_123"`.
|
|
16588
|
+
schema:
|
|
16589
|
+
example: xxx_01HXYZ123456789ABCDEFGHIJ
|
|
16590
|
+
type: string
|
|
16591
|
+
- name: after
|
|
16592
|
+
required: false
|
|
16593
|
+
in: query
|
|
16594
|
+
description: >-
|
|
16595
|
+
An object ID that defines your place in the list. When the ID is not
|
|
16596
|
+
present, you are at the end of the list. For example, if you make a
|
|
16597
|
+
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16598
|
+
subsequent call can include `after="obj_123"` to fetch a new batch
|
|
16599
|
+
of objects after `"obj_123"`.
|
|
16600
|
+
schema:
|
|
16601
|
+
example: xxx_01HXYZ987654321KJIHGFEDCBA
|
|
16602
|
+
type: string
|
|
16603
|
+
- name: limit
|
|
16604
|
+
required: false
|
|
16605
|
+
in: query
|
|
16606
|
+
description: >-
|
|
16607
|
+
Upper limit on the number of objects to return, between `1` and
|
|
16608
|
+
`100`.
|
|
16609
|
+
schema:
|
|
16610
|
+
minimum: 1
|
|
16611
|
+
maximum: 100
|
|
16612
|
+
default: 10
|
|
16613
|
+
example: 10
|
|
16614
|
+
type: integer
|
|
16615
|
+
- name: order
|
|
16616
|
+
required: false
|
|
16617
|
+
in: query
|
|
16618
|
+
description: >-
|
|
16619
|
+
Order the results by the creation time. Supported values are `"asc"`
|
|
16620
|
+
(ascending), `"desc"` (descending), and `"normal"` (descending with
|
|
16621
|
+
reversed cursor semantics where `before` fetches older records and
|
|
16622
|
+
`after` fetches newer records). Defaults to descending.
|
|
16623
|
+
schema:
|
|
16624
|
+
$ref: '#/components/schemas/PaginationOrder'
|
|
16625
|
+
responses:
|
|
16626
|
+
'200':
|
|
16627
|
+
description: List of webhook endpoints.
|
|
16628
|
+
content:
|
|
16629
|
+
application/json:
|
|
16630
|
+
schema:
|
|
16631
|
+
$ref: '#/components/schemas/WebhookEndpointList'
|
|
16632
|
+
summary: List Webhook Endpoints
|
|
16633
|
+
tags:
|
|
16634
|
+
- webhooks
|
|
16635
|
+
post:
|
|
16636
|
+
description: Create a new webhook endpoint to receive event notifications.
|
|
16637
|
+
operationId: WebhookEndpointsController_create
|
|
16638
|
+
parameters: []
|
|
16639
|
+
requestBody:
|
|
16640
|
+
required: true
|
|
16641
|
+
content:
|
|
16642
|
+
application/json:
|
|
16643
|
+
schema:
|
|
16644
|
+
$ref: '#/components/schemas/CreateWebhookEndpointDto'
|
|
16645
|
+
responses:
|
|
16646
|
+
'201':
|
|
16647
|
+
description: Webhook endpoint created successfully.
|
|
16648
|
+
content:
|
|
16649
|
+
application/json:
|
|
16650
|
+
schema:
|
|
16651
|
+
$ref: '#/components/schemas/WebhookEndpointJson'
|
|
16652
|
+
'409':
|
|
16653
|
+
description: A Webhook Endpoint with the same endpoint URL already exists.
|
|
16654
|
+
content:
|
|
16655
|
+
application/json:
|
|
16656
|
+
schema:
|
|
16657
|
+
type: object
|
|
16658
|
+
properties:
|
|
16659
|
+
code:
|
|
16660
|
+
type: string
|
|
16661
|
+
description: The error code identifying the type of error.
|
|
16662
|
+
example: duplicate_endpoint
|
|
16663
|
+
const: duplicate_endpoint
|
|
16664
|
+
message:
|
|
16665
|
+
type: string
|
|
16666
|
+
description: A human-readable description of the error.
|
|
16667
|
+
example: Request could not be processed.
|
|
16668
|
+
required:
|
|
16669
|
+
- code
|
|
16670
|
+
- message
|
|
16671
|
+
'422':
|
|
16672
|
+
description: Unprocessable Entity
|
|
16673
|
+
content:
|
|
16674
|
+
application/json:
|
|
16675
|
+
schema:
|
|
16676
|
+
oneOf:
|
|
16677
|
+
- type: object
|
|
16678
|
+
properties:
|
|
16679
|
+
code:
|
|
16680
|
+
type: string
|
|
16681
|
+
description: The error code identifying the type of error.
|
|
16682
|
+
example: invalid_url
|
|
16683
|
+
const: invalid_url
|
|
16684
|
+
message:
|
|
16685
|
+
type: string
|
|
16686
|
+
description: A human-readable description of the error.
|
|
16687
|
+
example: Request could not be processed.
|
|
16688
|
+
required:
|
|
16689
|
+
- code
|
|
16690
|
+
- message
|
|
16691
|
+
- type: object
|
|
16692
|
+
properties:
|
|
16693
|
+
code:
|
|
16694
|
+
type: string
|
|
16695
|
+
description: The error code identifying the type of error.
|
|
16696
|
+
example: invalid_request_parameters
|
|
16697
|
+
const: invalid_request_parameters
|
|
16698
|
+
message:
|
|
16699
|
+
type: string
|
|
16700
|
+
description: A human-readable description of the error.
|
|
16701
|
+
example: Validation failed.
|
|
16702
|
+
errors:
|
|
16703
|
+
type: array
|
|
16704
|
+
items:
|
|
16705
|
+
type: object
|
|
16706
|
+
properties:
|
|
16707
|
+
code:
|
|
16708
|
+
type: string
|
|
16709
|
+
description: The validation error code.
|
|
16710
|
+
example: unknown_event_type
|
|
16711
|
+
message:
|
|
16712
|
+
type: string
|
|
16713
|
+
description: >-
|
|
16714
|
+
A human-readable description of the validation
|
|
16715
|
+
error.
|
|
16716
|
+
example: Invalid enum value.
|
|
16717
|
+
required:
|
|
16718
|
+
- code
|
|
16719
|
+
- message
|
|
16720
|
+
description: The list of validation errors.
|
|
16721
|
+
required:
|
|
16722
|
+
- code
|
|
16723
|
+
- message
|
|
16724
|
+
- errors
|
|
16725
|
+
summary: Create a Webhook Endpoint
|
|
16726
|
+
tags:
|
|
16727
|
+
- webhooks
|
|
16728
|
+
/webhook_endpoints/{id}:
|
|
16729
|
+
patch:
|
|
16730
|
+
description: Update the properties of an existing webhook endpoint.
|
|
16270
16731
|
operationId: WebhookEndpointsController_update
|
|
16271
16732
|
parameters:
|
|
16272
16733
|
- name: id
|
|
@@ -16589,6 +17050,8 @@ tags:
|
|
|
16589
17050
|
description: Manage authorized applications for users.
|
|
16590
17051
|
- name: user-management.users.feature-flags
|
|
16591
17052
|
description: Manage user-scoped feature flags.
|
|
17053
|
+
- name: vault
|
|
17054
|
+
description: Vault data encryption endpoints.
|
|
16592
17055
|
- name: webhooks
|
|
16593
17056
|
description: Manage webhooks.
|
|
16594
17057
|
- name: widgets
|
|
@@ -17745,6 +18208,13 @@ components:
|
|
|
17745
18208
|
type: array
|
|
17746
18209
|
items:
|
|
17747
18210
|
type: string
|
|
18211
|
+
expires_at:
|
|
18212
|
+
format: date-time
|
|
18213
|
+
type: string
|
|
18214
|
+
description: >-
|
|
18215
|
+
The timestamp when the API key should expire. Must be a future
|
|
18216
|
+
timestamp. If omitted, the key does not expire.
|
|
18217
|
+
example: '2030-01-01T00:00:00.000Z'
|
|
17748
18218
|
required:
|
|
17749
18219
|
- name
|
|
17750
18220
|
OrganizationDomainDataDto:
|
|
@@ -18392,6 +18862,13 @@ components:
|
|
|
18392
18862
|
type: array
|
|
18393
18863
|
items:
|
|
18394
18864
|
type: string
|
|
18865
|
+
expires_at:
|
|
18866
|
+
format: date-time
|
|
18867
|
+
type: string
|
|
18868
|
+
description: >-
|
|
18869
|
+
The timestamp when the API key should expire. Must be a future
|
|
18870
|
+
timestamp. If omitted, the key does not expire.
|
|
18871
|
+
example: '2030-01-01T00:00:00.000Z'
|
|
18395
18872
|
required:
|
|
18396
18873
|
- name
|
|
18397
18874
|
- organization_id
|
|
@@ -18787,6 +19264,9 @@ components:
|
|
|
18787
19264
|
- permission.created
|
|
18788
19265
|
- permission.deleted
|
|
18789
19266
|
- permission.updated
|
|
19267
|
+
- pipes.connected_account.connected
|
|
19268
|
+
- pipes.connected_account.disconnected
|
|
19269
|
+
- pipes.connected_account.reauthorization_needed
|
|
18790
19270
|
- session.created
|
|
18791
19271
|
- session.revoked
|
|
18792
19272
|
- waitlist_user.approved
|
|
@@ -18826,53 +19306,415 @@ components:
|
|
|
18826
19306
|
properties:
|
|
18827
19307
|
organization_id:
|
|
18828
19308
|
type: string
|
|
18829
|
-
description: The ID of the organization to scope the widget session to.
|
|
18830
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18831
|
-
user_id:
|
|
19309
|
+
description: The ID of the organization to scope the widget session to.
|
|
19310
|
+
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
19311
|
+
user_id:
|
|
19312
|
+
type: string
|
|
19313
|
+
description: The ID of the user to issue the widget session token for.
|
|
19314
|
+
example: user_01E4ZCR3C56J083X43JQXF3JK5
|
|
19315
|
+
scopes:
|
|
19316
|
+
type: array
|
|
19317
|
+
description: The scopes to grant the widget session.
|
|
19318
|
+
items:
|
|
19319
|
+
type: string
|
|
19320
|
+
enum:
|
|
19321
|
+
- widgets:users-table:manage
|
|
19322
|
+
- widgets:domain-verification:manage
|
|
19323
|
+
- widgets:sso:manage
|
|
19324
|
+
- widgets:api-keys:manage
|
|
19325
|
+
- widgets:dsync:manage
|
|
19326
|
+
- widgets:audit-log-streaming:manage
|
|
19327
|
+
example:
|
|
19328
|
+
- widgets:users-table:manage
|
|
19329
|
+
required:
|
|
19330
|
+
- organization_id
|
|
19331
|
+
TokenQueryDto:
|
|
19332
|
+
type: object
|
|
19333
|
+
properties:
|
|
19334
|
+
client_id:
|
|
19335
|
+
type: string
|
|
19336
|
+
description: The client ID of the WorkOS environment.
|
|
19337
|
+
example: client_01HZBC6N1EB1ZY7KG32X
|
|
19338
|
+
client_secret:
|
|
19339
|
+
type: string
|
|
19340
|
+
description: The client secret of the WorkOS environment.
|
|
19341
|
+
example: sk_example_123456789
|
|
19342
|
+
code:
|
|
19343
|
+
type: string
|
|
19344
|
+
description: The authorization code received from the authorization callback.
|
|
19345
|
+
example: authorization_code_value
|
|
19346
|
+
grant_type:
|
|
19347
|
+
type: string
|
|
19348
|
+
description: The grant type for the token request.
|
|
19349
|
+
example: authorization_code
|
|
19350
|
+
const: authorization_code
|
|
19351
|
+
required:
|
|
19352
|
+
- client_id
|
|
19353
|
+
- client_secret
|
|
19354
|
+
- code
|
|
19355
|
+
- grant_type
|
|
19356
|
+
Actor:
|
|
19357
|
+
description: The user or API key that performed an action.
|
|
19358
|
+
properties:
|
|
19359
|
+
id:
|
|
19360
|
+
description: Unique identifier of the actor.
|
|
19361
|
+
example: key_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19362
|
+
type: string
|
|
19363
|
+
name:
|
|
19364
|
+
description: Display name of the actor.
|
|
19365
|
+
example: My API Key
|
|
19366
|
+
type: string
|
|
19367
|
+
required:
|
|
19368
|
+
- id
|
|
19369
|
+
- name
|
|
19370
|
+
title: Actor
|
|
19371
|
+
type: object
|
|
19372
|
+
CreateDataKeyRequest:
|
|
19373
|
+
properties:
|
|
19374
|
+
context:
|
|
19375
|
+
additionalProperties:
|
|
19376
|
+
maxLength: 500
|
|
19377
|
+
type: string
|
|
19378
|
+
description: Map of values used to determine the encryption key.
|
|
19379
|
+
example:
|
|
19380
|
+
organization_id: org_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19381
|
+
maxProperties: 10
|
|
19382
|
+
type: object
|
|
19383
|
+
required:
|
|
19384
|
+
- context
|
|
19385
|
+
title: CreateDataKeyRequest
|
|
19386
|
+
type: object
|
|
19387
|
+
CreateDataKeyResponse:
|
|
19388
|
+
properties:
|
|
19389
|
+
context:
|
|
19390
|
+
additionalProperties:
|
|
19391
|
+
type: string
|
|
19392
|
+
description: Map of values used to determine the encryption key.
|
|
19393
|
+
example:
|
|
19394
|
+
organization_id: org_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19395
|
+
type: object
|
|
19396
|
+
data_key:
|
|
19397
|
+
description: Base64-encoded data encryption key.
|
|
19398
|
+
example: DR9idtey9MpMrA1VRFrz30HB1yNgL2PoHZyjAkFeWgg=
|
|
19399
|
+
type: string
|
|
19400
|
+
encrypted_keys:
|
|
19401
|
+
description: Base64-encoded encrypted data key blob.
|
|
19402
|
+
example: >-
|
|
19403
|
+
V09TLkVLTS52MQBiZjUxY2NlYy03OGI0LTUyMDAtYjM4My0zNTczMGU3MWVmNjEBATEBJGJmNjVlMzI2LTQzYTAtNGIyMC04OGM0LTA3ZmYzZGU1NDM0YwF0YmY2NWUzMjYtNDNhMC00YjIwLTg4YzQtMDdmZjNkZTU0MzRj
|
|
19404
|
+
type: string
|
|
19405
|
+
id:
|
|
19406
|
+
description: Unique identifier for the generated data key.
|
|
19407
|
+
example: bf51ccec-78b4-5200-b383-35730e71ef61
|
|
19408
|
+
type: string
|
|
19409
|
+
required:
|
|
19410
|
+
- id
|
|
19411
|
+
- data_key
|
|
19412
|
+
- encrypted_keys
|
|
19413
|
+
- context
|
|
19414
|
+
title: CreateDataKeyResponse
|
|
19415
|
+
type: object
|
|
19416
|
+
CreateObjectRequest:
|
|
19417
|
+
properties:
|
|
19418
|
+
key_context:
|
|
19419
|
+
additionalProperties:
|
|
19420
|
+
maxLength: 500
|
|
19421
|
+
type: string
|
|
19422
|
+
description: Map of values used to determine the encryption key.
|
|
19423
|
+
example:
|
|
19424
|
+
organization_id: org_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19425
|
+
maxProperties: 10
|
|
19426
|
+
type: object
|
|
19427
|
+
name:
|
|
19428
|
+
description: Unique name for the object.
|
|
19429
|
+
example: my-secret
|
|
19430
|
+
maxLength: 200
|
|
19431
|
+
type: string
|
|
19432
|
+
value:
|
|
19433
|
+
description: Plaintext data to encrypt and store.
|
|
19434
|
+
example: s3cr3t-v4lu3
|
|
19435
|
+
type: string
|
|
19436
|
+
required:
|
|
19437
|
+
- name
|
|
19438
|
+
- value
|
|
19439
|
+
- key_context
|
|
19440
|
+
title: CreateObjectRequest
|
|
19441
|
+
type: object
|
|
19442
|
+
DecryptRequest:
|
|
19443
|
+
properties:
|
|
19444
|
+
keys:
|
|
19445
|
+
description: Base64-encoded encrypted data key to decrypt.
|
|
19446
|
+
example: >-
|
|
19447
|
+
V09TLkVLTS52MQBiZjUxY2NlYy03OGI0LTUyMDAtYjM4My0zNTczMGU3MWVmNjEBATEBJGJmNjVlMzI2LTQzYTAtNGIyMC04OGM0LTA3ZmYzZGU1NDM0YwF0YmY2NWUzMjYtNDNhMC00YjIwLTg4YzQtMDdmZjNkZTU0MzRj
|
|
19448
|
+
type: string
|
|
19449
|
+
required:
|
|
19450
|
+
- keys
|
|
19451
|
+
title: DecryptRequest
|
|
19452
|
+
type: object
|
|
19453
|
+
DecryptResponse:
|
|
19454
|
+
properties:
|
|
19455
|
+
data_key:
|
|
19456
|
+
description: Base64-encoded decrypted data key.
|
|
19457
|
+
example: DR9idtey9MpMrA1VRFrz30HB1yNgL2PoHZyjAkFeWgg=
|
|
19458
|
+
type: string
|
|
19459
|
+
id:
|
|
19460
|
+
description: Unique identifier of the decrypted data key.
|
|
19461
|
+
example: bf51ccec-78b4-5200-b383-35730e71ef61
|
|
19462
|
+
type: string
|
|
19463
|
+
required:
|
|
19464
|
+
- id
|
|
19465
|
+
- data_key
|
|
19466
|
+
title: DecryptResponse
|
|
19467
|
+
type: object
|
|
19468
|
+
DeleteObjectResponse:
|
|
19469
|
+
properties:
|
|
19470
|
+
name:
|
|
19471
|
+
description: Name of the deleted object.
|
|
19472
|
+
example: my-secret
|
|
19473
|
+
type: string
|
|
19474
|
+
success:
|
|
19475
|
+
description: Whether the deletion succeeded.
|
|
19476
|
+
example: true
|
|
19477
|
+
type: boolean
|
|
19478
|
+
required:
|
|
19479
|
+
- success
|
|
19480
|
+
- name
|
|
19481
|
+
title: DeleteObjectResponse
|
|
19482
|
+
type: object
|
|
19483
|
+
Error:
|
|
19484
|
+
description: Error response body.
|
|
19485
|
+
properties:
|
|
19486
|
+
error:
|
|
19487
|
+
description: A human-readable description of the error.
|
|
19488
|
+
example: Invalid request parameters.
|
|
19489
|
+
type: string
|
|
19490
|
+
required:
|
|
19491
|
+
- error
|
|
19492
|
+
title: Error
|
|
19493
|
+
type: object
|
|
19494
|
+
ListMetadata:
|
|
19495
|
+
description: Cursor-based pagination metadata.
|
|
19496
|
+
properties:
|
|
19497
|
+
after:
|
|
19498
|
+
description: Cursor for the next page of results.
|
|
19499
|
+
example: b21f3a8c-7e4d-4b1a-9c5e-2d8f6a7b3c4e
|
|
19500
|
+
type:
|
|
19501
|
+
- string
|
|
19502
|
+
- 'null'
|
|
19503
|
+
before:
|
|
19504
|
+
description: Cursor for the previous page of results.
|
|
19505
|
+
example: a10e2b7d-6c3f-4a2b-8d1e-3f9a5b8c7d6e
|
|
19506
|
+
type:
|
|
19507
|
+
- string
|
|
19508
|
+
- 'null'
|
|
19509
|
+
title: ListMetadata
|
|
19510
|
+
type: object
|
|
19511
|
+
Object:
|
|
19512
|
+
description: An encrypted object with its decrypted value and metadata.
|
|
19513
|
+
properties:
|
|
19514
|
+
id:
|
|
19515
|
+
description: Unique identifier of the object.
|
|
19516
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
19517
|
+
type: string
|
|
19518
|
+
metadata:
|
|
19519
|
+
$ref: '#/components/schemas/ObjectMetadata'
|
|
19520
|
+
name:
|
|
19521
|
+
description: Unique name of the object.
|
|
19522
|
+
example: my-secret
|
|
19523
|
+
type: string
|
|
19524
|
+
value:
|
|
19525
|
+
description: Decrypted plaintext value.
|
|
19526
|
+
example: s3cr3t-v4lu3
|
|
19527
|
+
type: string
|
|
19528
|
+
required:
|
|
19529
|
+
- id
|
|
19530
|
+
- name
|
|
19531
|
+
- value
|
|
19532
|
+
- metadata
|
|
19533
|
+
title: Object
|
|
19534
|
+
type: object
|
|
19535
|
+
ObjectListResponse:
|
|
19536
|
+
properties:
|
|
19537
|
+
data:
|
|
19538
|
+
description: List of object summaries.
|
|
19539
|
+
items:
|
|
19540
|
+
$ref: '#/components/schemas/ObjectSummary'
|
|
19541
|
+
type: array
|
|
19542
|
+
list_metadata:
|
|
19543
|
+
$ref: '#/components/schemas/ListMetadata'
|
|
19544
|
+
required:
|
|
19545
|
+
- data
|
|
19546
|
+
- list_metadata
|
|
19547
|
+
title: ObjectListResponse
|
|
19548
|
+
type: object
|
|
19549
|
+
ObjectMetadata:
|
|
19550
|
+
description: Metadata for a stored encrypted object.
|
|
19551
|
+
properties:
|
|
19552
|
+
context:
|
|
19553
|
+
additionalProperties:
|
|
19554
|
+
type: string
|
|
19555
|
+
description: Map of values used to determine the encryption key.
|
|
19556
|
+
example:
|
|
19557
|
+
organization_id: org_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19558
|
+
type: object
|
|
19559
|
+
environment_id:
|
|
19560
|
+
description: Environment the object belongs to.
|
|
19561
|
+
example: environment_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19562
|
+
type: string
|
|
19563
|
+
id:
|
|
19564
|
+
description: Unique identifier of the object.
|
|
19565
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
19566
|
+
type: string
|
|
19567
|
+
key_id:
|
|
19568
|
+
description: Encryption key identifier.
|
|
19569
|
+
example: bf65e326-43a0-4b20-88c4-07ff3de5434c
|
|
19570
|
+
type: string
|
|
19571
|
+
updated_at:
|
|
19572
|
+
description: Timestamp of the last update.
|
|
19573
|
+
example: '2024-06-15T10:30:00Z'
|
|
19574
|
+
format: date-time
|
|
19575
|
+
type: string
|
|
19576
|
+
updated_by:
|
|
19577
|
+
$ref: '#/components/schemas/Actor'
|
|
19578
|
+
version_id:
|
|
19579
|
+
description: Current version identifier of the object.
|
|
19580
|
+
example: c3d4e5f6-7890-abcd-ef12-34567890abcd
|
|
19581
|
+
type:
|
|
19582
|
+
- string
|
|
19583
|
+
- 'null'
|
|
19584
|
+
required:
|
|
19585
|
+
- id
|
|
19586
|
+
- environment_id
|
|
19587
|
+
- key_id
|
|
19588
|
+
- updated_by
|
|
19589
|
+
- updated_at
|
|
19590
|
+
- context
|
|
19591
|
+
title: ObjectMetadata
|
|
19592
|
+
type: object
|
|
19593
|
+
ObjectSummary:
|
|
19594
|
+
description: Summary of an encrypted object returned in list responses.
|
|
19595
|
+
properties:
|
|
19596
|
+
id:
|
|
19597
|
+
description: Unique identifier of the object.
|
|
19598
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
19599
|
+
type: string
|
|
19600
|
+
name:
|
|
19601
|
+
description: Unique name of the object.
|
|
19602
|
+
example: my-secret
|
|
19603
|
+
type: string
|
|
19604
|
+
updated_at:
|
|
19605
|
+
description: Timestamp of the last update.
|
|
19606
|
+
example: '2024-06-15T10:30:00Z'
|
|
19607
|
+
format: date-time
|
|
19608
|
+
type:
|
|
19609
|
+
- string
|
|
19610
|
+
- 'null'
|
|
19611
|
+
required:
|
|
19612
|
+
- id
|
|
19613
|
+
- name
|
|
19614
|
+
title: ObjectSummary
|
|
19615
|
+
type: object
|
|
19616
|
+
ObjectVersion:
|
|
19617
|
+
description: A static snapshot of an encrypted object.
|
|
19618
|
+
properties:
|
|
19619
|
+
created_at:
|
|
19620
|
+
description: Timestamp when the version was created.
|
|
19621
|
+
example: '2024-06-15T10:30:00Z'
|
|
19622
|
+
format: date-time
|
|
19623
|
+
type: string
|
|
19624
|
+
current_version:
|
|
19625
|
+
description: Whether this is the active version.
|
|
19626
|
+
example: true
|
|
19627
|
+
type: boolean
|
|
19628
|
+
etag:
|
|
19629
|
+
description: Hash of the object value.
|
|
19630
|
+
example: d41d8cd98f00b204e9800998ecf8427e
|
|
19631
|
+
type: string
|
|
19632
|
+
id:
|
|
19633
|
+
description: Unique identifier of the version.
|
|
19634
|
+
example: c3d4e5f6-7890-abcd-ef12-34567890abcd
|
|
19635
|
+
type: string
|
|
19636
|
+
size:
|
|
19637
|
+
description: Number of bytes of stored data.
|
|
19638
|
+
example: 256
|
|
19639
|
+
type: integer
|
|
19640
|
+
required:
|
|
19641
|
+
- id
|
|
19642
|
+
- created_at
|
|
19643
|
+
- current_version
|
|
19644
|
+
- size
|
|
19645
|
+
- etag
|
|
19646
|
+
title: ObjectVersion
|
|
19647
|
+
type: object
|
|
19648
|
+
ObjectWithoutValue:
|
|
19649
|
+
description: An encrypted object's metadata (value excluded).
|
|
19650
|
+
properties:
|
|
19651
|
+
id:
|
|
19652
|
+
description: Unique identifier of the object.
|
|
19653
|
+
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
19654
|
+
type: string
|
|
19655
|
+
metadata:
|
|
19656
|
+
$ref: '#/components/schemas/ObjectMetadata'
|
|
19657
|
+
name:
|
|
19658
|
+
description: Unique name of the object.
|
|
19659
|
+
example: my-secret
|
|
18832
19660
|
type: string
|
|
18833
|
-
|
|
18834
|
-
|
|
18835
|
-
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
19661
|
+
required:
|
|
19662
|
+
- id
|
|
19663
|
+
- name
|
|
19664
|
+
- metadata
|
|
19665
|
+
title: ObjectWithoutValue
|
|
19666
|
+
type: object
|
|
19667
|
+
RekeyRequest:
|
|
19668
|
+
properties:
|
|
19669
|
+
context:
|
|
19670
|
+
additionalProperties:
|
|
19671
|
+
maxLength: 500
|
|
18839
19672
|
type: string
|
|
18840
|
-
|
|
18841
|
-
- widgets:users-table:manage
|
|
18842
|
-
- widgets:domain-verification:manage
|
|
18843
|
-
- widgets:sso:manage
|
|
18844
|
-
- widgets:api-keys:manage
|
|
18845
|
-
- widgets:dsync:manage
|
|
18846
|
-
- widgets:audit-log-streaming:manage
|
|
19673
|
+
description: Map of values used to determine the new encryption key.
|
|
18847
19674
|
example:
|
|
18848
|
-
|
|
19675
|
+
organization_id: org_01K8ZYT4AWJ6XP0E0S8CTBHE3P
|
|
19676
|
+
maxProperties: 10
|
|
19677
|
+
type: object
|
|
19678
|
+
encrypted_keys:
|
|
19679
|
+
description: Base64-encoded encrypted data key blob to re-encrypt.
|
|
19680
|
+
example: >-
|
|
19681
|
+
V09TLkVLTS52MQBiZjUxY2NlYy03OGI0LTUyMDAtYjM4My0zNTczMGU3MWVmNjEBATEBJGJmNjVlMzI2LTQzYTAtNGIyMC04OGM0LTA3ZmYzZGU1NDM0YwF0YmY2NWUzMjYtNDNhMC00YjIwLTg4YzQtMDdmZjNkZTU0MzRj
|
|
19682
|
+
type: string
|
|
18849
19683
|
required:
|
|
18850
|
-
-
|
|
18851
|
-
|
|
19684
|
+
- encrypted_keys
|
|
19685
|
+
- context
|
|
19686
|
+
title: RekeyRequest
|
|
18852
19687
|
type: object
|
|
19688
|
+
UpdateObjectRequest:
|
|
18853
19689
|
properties:
|
|
18854
|
-
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
example: client_01HZBC6N1EB1ZY7KG32X
|
|
18858
|
-
client_secret:
|
|
18859
|
-
type: string
|
|
18860
|
-
description: The client secret of the WorkOS environment.
|
|
18861
|
-
example: sk_example_123456789
|
|
18862
|
-
code:
|
|
18863
|
-
type: string
|
|
18864
|
-
description: The authorization code received from the authorization callback.
|
|
18865
|
-
example: authorization_code_value
|
|
18866
|
-
grant_type:
|
|
19690
|
+
value:
|
|
19691
|
+
description: New plaintext value.
|
|
19692
|
+
example: upd4t3d-v4lu3
|
|
18867
19693
|
type: string
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
|
|
19694
|
+
version_check:
|
|
19695
|
+
description: ID of the expected current version for optimistic locking.
|
|
19696
|
+
example: c3d4e5f6-7890-abcd-ef12-34567890abcd
|
|
19697
|
+
type:
|
|
19698
|
+
- string
|
|
19699
|
+
- 'null'
|
|
18871
19700
|
required:
|
|
18872
|
-
-
|
|
18873
|
-
|
|
18874
|
-
|
|
18875
|
-
|
|
19701
|
+
- value
|
|
19702
|
+
title: UpdateObjectRequest
|
|
19703
|
+
type: object
|
|
19704
|
+
VersionListResponse:
|
|
19705
|
+
properties:
|
|
19706
|
+
data:
|
|
19707
|
+
description: List of object versions.
|
|
19708
|
+
items:
|
|
19709
|
+
$ref: '#/components/schemas/ObjectVersion'
|
|
19710
|
+
type: array
|
|
19711
|
+
list_metadata:
|
|
19712
|
+
$ref: '#/components/schemas/ListMetadata'
|
|
19713
|
+
required:
|
|
19714
|
+
- data
|
|
19715
|
+
- list_metadata
|
|
19716
|
+
title: VersionListResponse
|
|
19717
|
+
type: object
|
|
18876
19718
|
ExternalAuthCompleteResponse:
|
|
18877
19719
|
type: object
|
|
18878
19720
|
properties:
|
|
@@ -18952,6 +19794,15 @@ components:
|
|
|
18952
19794
|
format: date-time
|
|
18953
19795
|
description: Timestamp of when the API Key was last used.
|
|
18954
19796
|
example: null
|
|
19797
|
+
expires_at:
|
|
19798
|
+
type:
|
|
19799
|
+
- string
|
|
19800
|
+
- 'null'
|
|
19801
|
+
format: date-time
|
|
19802
|
+
description: >-
|
|
19803
|
+
Timestamp when the API Key expires. Null means the key does not
|
|
19804
|
+
expire.
|
|
19805
|
+
example: null
|
|
18955
19806
|
permissions:
|
|
18956
19807
|
type: array
|
|
18957
19808
|
items:
|
|
@@ -18977,6 +19828,7 @@ components:
|
|
|
18977
19828
|
- name
|
|
18978
19829
|
- obfuscated_value
|
|
18979
19830
|
- last_used_at
|
|
19831
|
+
- expires_at
|
|
18980
19832
|
- permissions
|
|
18981
19833
|
- created_at
|
|
18982
19834
|
- updated_at
|
|
@@ -19270,6 +20122,7 @@ components:
|
|
|
19270
20122
|
description: A hint showing the last few characters of the secret value.
|
|
19271
20123
|
example: abc123
|
|
19272
20124
|
last_used_at:
|
|
20125
|
+
format: date-time
|
|
19273
20126
|
type:
|
|
19274
20127
|
- string
|
|
19275
20128
|
- 'null'
|
|
@@ -21345,6 +22198,74 @@ components:
|
|
|
21345
22198
|
- custom_attributes
|
|
21346
22199
|
- created_at
|
|
21347
22200
|
- updated_at
|
|
22201
|
+
PipesConnectedAccount:
|
|
22202
|
+
type: object
|
|
22203
|
+
properties:
|
|
22204
|
+
object:
|
|
22205
|
+
type: string
|
|
22206
|
+
description: The connected account object.
|
|
22207
|
+
example: connected_account
|
|
22208
|
+
const: connected_account
|
|
22209
|
+
id:
|
|
22210
|
+
type: string
|
|
22211
|
+
description: The unique ID of the connected account.
|
|
22212
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22213
|
+
data_integration_id:
|
|
22214
|
+
type: string
|
|
22215
|
+
description: The unique ID of the data integration.
|
|
22216
|
+
example: data_integration_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22217
|
+
provider_slug:
|
|
22218
|
+
type: string
|
|
22219
|
+
description: The provider slug for this connected account.
|
|
22220
|
+
example: github
|
|
22221
|
+
user_id:
|
|
22222
|
+
type:
|
|
22223
|
+
- string
|
|
22224
|
+
- 'null'
|
|
22225
|
+
description: The ID of the User the connected account belongs to.
|
|
22226
|
+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22227
|
+
organization_id:
|
|
22228
|
+
type:
|
|
22229
|
+
- string
|
|
22230
|
+
- 'null'
|
|
22231
|
+
description: The ID of the Organization the connected account belongs to.
|
|
22232
|
+
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
22233
|
+
scopes:
|
|
22234
|
+
type: array
|
|
22235
|
+
items:
|
|
22236
|
+
type: string
|
|
22237
|
+
description: The OAuth scopes granted for this connected account.
|
|
22238
|
+
example:
|
|
22239
|
+
- repo
|
|
22240
|
+
- user:email
|
|
22241
|
+
state:
|
|
22242
|
+
type: string
|
|
22243
|
+
enum:
|
|
22244
|
+
- connected
|
|
22245
|
+
- needs_reauthorization
|
|
22246
|
+
description: The state of the connected account.
|
|
22247
|
+
example: connected
|
|
22248
|
+
created_at:
|
|
22249
|
+
format: date-time
|
|
22250
|
+
type: string
|
|
22251
|
+
description: An ISO 8601 timestamp.
|
|
22252
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
22253
|
+
updated_at:
|
|
22254
|
+
format: date-time
|
|
22255
|
+
type: string
|
|
22256
|
+
description: An ISO 8601 timestamp.
|
|
22257
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
22258
|
+
required:
|
|
22259
|
+
- object
|
|
22260
|
+
- id
|
|
22261
|
+
- data_integration_id
|
|
22262
|
+
- provider_slug
|
|
22263
|
+
- user_id
|
|
22264
|
+
- organization_id
|
|
22265
|
+
- scopes
|
|
22266
|
+
- state
|
|
22267
|
+
- created_at
|
|
22268
|
+
- updated_at
|
|
21348
22269
|
VaultByokKeyProvider:
|
|
21349
22270
|
type: string
|
|
21350
22271
|
enum:
|
|
@@ -21697,6 +22618,15 @@ components:
|
|
|
21697
22618
|
- 'null'
|
|
21698
22619
|
description: The timestamp when the API key was last used.
|
|
21699
22620
|
example: '2026-01-15T12:00:00.000Z'
|
|
22621
|
+
expires_at:
|
|
22622
|
+
type:
|
|
22623
|
+
- string
|
|
22624
|
+
- 'null'
|
|
22625
|
+
format: date-time
|
|
22626
|
+
description: >-
|
|
22627
|
+
Timestamp when the API Key expires. Null means the key
|
|
22628
|
+
does not expire.
|
|
22629
|
+
example: null
|
|
21700
22630
|
permissions:
|
|
21701
22631
|
type: array
|
|
21702
22632
|
items:
|
|
@@ -21813,6 +22743,15 @@ components:
|
|
|
21813
22743
|
- 'null'
|
|
21814
22744
|
description: The timestamp when the API key was last used.
|
|
21815
22745
|
example: '2026-01-15T12:00:00.000Z'
|
|
22746
|
+
expires_at:
|
|
22747
|
+
type:
|
|
22748
|
+
- string
|
|
22749
|
+
- 'null'
|
|
22750
|
+
format: date-time
|
|
22751
|
+
description: >-
|
|
22752
|
+
Timestamp when the API Key expires. Null means the key
|
|
22753
|
+
does not expire.
|
|
22754
|
+
example: null
|
|
21816
22755
|
permissions:
|
|
21817
22756
|
type: array
|
|
21818
22757
|
items:
|
|
@@ -28063,6 +29002,93 @@ components:
|
|
|
28063
29002
|
- data
|
|
28064
29003
|
- created_at
|
|
28065
29004
|
- object
|
|
29005
|
+
- type: object
|
|
29006
|
+
properties:
|
|
29007
|
+
id:
|
|
29008
|
+
type: string
|
|
29009
|
+
description: Unique identifier for the event.
|
|
29010
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29011
|
+
event:
|
|
29012
|
+
type: string
|
|
29013
|
+
const: pipes.connected_account.connected
|
|
29014
|
+
data:
|
|
29015
|
+
$ref: '#/components/schemas/PipesConnectedAccount'
|
|
29016
|
+
description: The event payload.
|
|
29017
|
+
created_at:
|
|
29018
|
+
format: date-time
|
|
29019
|
+
type: string
|
|
29020
|
+
description: An ISO 8601 timestamp.
|
|
29021
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
29022
|
+
context:
|
|
29023
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
29024
|
+
object:
|
|
29025
|
+
type: string
|
|
29026
|
+
description: Distinguishes the Event object.
|
|
29027
|
+
const: event
|
|
29028
|
+
required:
|
|
29029
|
+
- id
|
|
29030
|
+
- event
|
|
29031
|
+
- data
|
|
29032
|
+
- created_at
|
|
29033
|
+
- object
|
|
29034
|
+
- type: object
|
|
29035
|
+
properties:
|
|
29036
|
+
id:
|
|
29037
|
+
type: string
|
|
29038
|
+
description: Unique identifier for the event.
|
|
29039
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29040
|
+
event:
|
|
29041
|
+
type: string
|
|
29042
|
+
const: pipes.connected_account.disconnected
|
|
29043
|
+
data:
|
|
29044
|
+
$ref: '#/components/schemas/PipesConnectedAccount'
|
|
29045
|
+
description: The event payload.
|
|
29046
|
+
created_at:
|
|
29047
|
+
format: date-time
|
|
29048
|
+
type: string
|
|
29049
|
+
description: An ISO 8601 timestamp.
|
|
29050
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
29051
|
+
context:
|
|
29052
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
29053
|
+
object:
|
|
29054
|
+
type: string
|
|
29055
|
+
description: Distinguishes the Event object.
|
|
29056
|
+
const: event
|
|
29057
|
+
required:
|
|
29058
|
+
- id
|
|
29059
|
+
- event
|
|
29060
|
+
- data
|
|
29061
|
+
- created_at
|
|
29062
|
+
- object
|
|
29063
|
+
- type: object
|
|
29064
|
+
properties:
|
|
29065
|
+
id:
|
|
29066
|
+
type: string
|
|
29067
|
+
description: Unique identifier for the event.
|
|
29068
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29069
|
+
event:
|
|
29070
|
+
type: string
|
|
29071
|
+
const: pipes.connected_account.reauthorization_needed
|
|
29072
|
+
data:
|
|
29073
|
+
$ref: '#/components/schemas/PipesConnectedAccount'
|
|
29074
|
+
description: The event payload.
|
|
29075
|
+
created_at:
|
|
29076
|
+
format: date-time
|
|
29077
|
+
type: string
|
|
29078
|
+
description: An ISO 8601 timestamp.
|
|
29079
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
29080
|
+
context:
|
|
29081
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
29082
|
+
object:
|
|
29083
|
+
type: string
|
|
29084
|
+
description: Distinguishes the Event object.
|
|
29085
|
+
const: event
|
|
29086
|
+
required:
|
|
29087
|
+
- id
|
|
29088
|
+
- event
|
|
29089
|
+
- data
|
|
29090
|
+
- created_at
|
|
29091
|
+
- object
|
|
28066
29092
|
- type: object
|
|
28067
29093
|
properties:
|
|
28068
29094
|
id:
|
|
@@ -29605,6 +30631,15 @@ components:
|
|
|
29605
30631
|
format: date-time
|
|
29606
30632
|
description: Timestamp of when the API Key was last used.
|
|
29607
30633
|
example: null
|
|
30634
|
+
expires_at:
|
|
30635
|
+
type:
|
|
30636
|
+
- string
|
|
30637
|
+
- 'null'
|
|
30638
|
+
format: date-time
|
|
30639
|
+
description: >-
|
|
30640
|
+
Timestamp when the API Key expires. Null means the key does not
|
|
30641
|
+
expire.
|
|
30642
|
+
example: null
|
|
29608
30643
|
permissions:
|
|
29609
30644
|
type: array
|
|
29610
30645
|
items:
|
|
@@ -29630,6 +30665,7 @@ components:
|
|
|
29630
30665
|
- name
|
|
29631
30666
|
- obfuscated_value
|
|
29632
30667
|
- last_used_at
|
|
30668
|
+
- expires_at
|
|
29633
30669
|
- permissions
|
|
29634
30670
|
- created_at
|
|
29635
30671
|
- updated_at
|
|
@@ -29714,6 +30750,15 @@ components:
|
|
|
29714
30750
|
format: date-time
|
|
29715
30751
|
description: Timestamp of when the API Key was last used.
|
|
29716
30752
|
example: null
|
|
30753
|
+
expires_at:
|
|
30754
|
+
type:
|
|
30755
|
+
- string
|
|
30756
|
+
- 'null'
|
|
30757
|
+
format: date-time
|
|
30758
|
+
description: >-
|
|
30759
|
+
Timestamp when the API Key expires. Null means the key does not
|
|
30760
|
+
expire.
|
|
30761
|
+
example: '2030-01-01T00:00:00.000Z'
|
|
29717
30762
|
permissions:
|
|
29718
30763
|
type: array
|
|
29719
30764
|
items:
|
|
@@ -29743,6 +30788,7 @@ components:
|
|
|
29743
30788
|
- name
|
|
29744
30789
|
- obfuscated_value
|
|
29745
30790
|
- last_used_at
|
|
30791
|
+
- expires_at
|
|
29746
30792
|
- permissions
|
|
29747
30793
|
- created_at
|
|
29748
30794
|
- updated_at
|
|
@@ -30399,9 +31445,7 @@ components:
|
|
|
30399
31445
|
enum:
|
|
30400
31446
|
- bot_detection
|
|
30401
31447
|
- brute_force_attack
|
|
30402
|
-
- credential_stuffing
|
|
30403
31448
|
- domain_sign_up_rate_limit
|
|
30404
|
-
- ip_sign_up_rate_limit
|
|
30405
31449
|
- impossible_travel
|
|
30406
31450
|
- repeat_sign_up
|
|
30407
31451
|
- stale_account
|
|
@@ -30813,6 +31857,15 @@ components:
|
|
|
30813
31857
|
format: date-time
|
|
30814
31858
|
description: Timestamp of when the API Key was last used.
|
|
30815
31859
|
example: null
|
|
31860
|
+
expires_at:
|
|
31861
|
+
type:
|
|
31862
|
+
- string
|
|
31863
|
+
- 'null'
|
|
31864
|
+
format: date-time
|
|
31865
|
+
description: >-
|
|
31866
|
+
Timestamp when the API Key expires. Null means the key does not
|
|
31867
|
+
expire.
|
|
31868
|
+
example: null
|
|
30816
31869
|
permissions:
|
|
30817
31870
|
type: array
|
|
30818
31871
|
items:
|
|
@@ -30838,6 +31891,7 @@ components:
|
|
|
30838
31891
|
- name
|
|
30839
31892
|
- obfuscated_value
|
|
30840
31893
|
- last_used_at
|
|
31894
|
+
- expires_at
|
|
30841
31895
|
- permissions
|
|
30842
31896
|
- created_at
|
|
30843
31897
|
- updated_at
|
|
@@ -30927,6 +31981,15 @@ components:
|
|
|
30927
31981
|
format: date-time
|
|
30928
31982
|
description: Timestamp of when the API Key was last used.
|
|
30929
31983
|
example: null
|
|
31984
|
+
expires_at:
|
|
31985
|
+
type:
|
|
31986
|
+
- string
|
|
31987
|
+
- 'null'
|
|
31988
|
+
format: date-time
|
|
31989
|
+
description: >-
|
|
31990
|
+
Timestamp when the API Key expires. Null means the key does not
|
|
31991
|
+
expire.
|
|
31992
|
+
example: '2030-01-01T00:00:00.000Z'
|
|
30930
31993
|
permissions:
|
|
30931
31994
|
type: array
|
|
30932
31995
|
items:
|
|
@@ -30956,6 +32019,7 @@ components:
|
|
|
30956
32019
|
- name
|
|
30957
32020
|
- obfuscated_value
|
|
30958
32021
|
- last_used_at
|
|
32022
|
+
- expires_at
|
|
30959
32023
|
- permissions
|
|
30960
32024
|
- created_at
|
|
30961
32025
|
- updated_at
|
|
@@ -31484,7 +32548,7 @@ components:
|
|
|
31484
32548
|
- VMwareSAML
|
|
31485
32549
|
- XeroOAuth
|
|
31486
32550
|
description: The type of SSO connection.
|
|
31487
|
-
example:
|
|
32551
|
+
example: OktaSAML
|
|
31488
32552
|
idp_id:
|
|
31489
32553
|
type: string
|
|
31490
32554
|
description: The user's unique identifier from the identity provider.
|