Skip to main content
POST
Mint a Replo API key granting repository access to one project. Requires the api_keys.write scope when called with an API key.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-08-21

Body

application/json
workspaceId
string<uuid>
required
projectId
string<uuid>
required
name
string
required
Required string length: 1 - 255
scopes
enum<string>[]
required
Minimum array length: 1
Available options:
repo.read,
repo.write

Response

Mint a Replo API key granting repository access to one project. Requires the api_keys.write scope when called with an API key.

object
enum<string>
required
Available options:
api_key
id
string<uuid>
required
name
string
required
tokenPrefix
string
required
workspaceId
string<uuid>
required
projectId
string<uuid>
required
scopes
enum<string>[]
required
Available options:
repo.read,
repo.write
secret
string
required
createdAt
string
required