Skip to main content
POST
Create source API key

Authorizations

x-api-key
string
header
required

Team API key created under /api/api-keys. Prefix: sb_api_.

Path Parameters

projectId
string<uuid>
required

Project UUID in the team associated with the API key.

sourceId
string<uuid>
required

Source UUID. For runtime endpoints this identifies the source backing the table; for public v1 it identifies the source resource inside the project.

Body

application/json

The body is of type object.

Response

Created source API key

key
string
required
Example:

"sb_src_..."

id
string<uuid>
slug
string
sourceId
string<uuid>
keyPrefix
string
Example:

"sb_src_"

lastUsedAt
string<date-time> | null
createdAt
string<date-time>
updatedAt
string<date-time> | null