Skip to main content
POST
/
api
/
public
/
v1
/
builder
/
sessions
Create builder session token
curl --request POST \
  --url http://app.localhost:3000/api/public/v1/builder/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "storeId": "<string>",
  "pluginId": "<string>",
  "deploymentId": "<string>",
  "permissions": [
    "read:source"
  ],
  "expiresIn": "<string>",
  "metadata": {}
}
'
{
  "message": "<string>",
  "code": "<string>",
  "issues": [
    {
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
storeId
string
pluginId
string
deploymentId
string
permissions
enum<string>[]
Available options:
read:source,
write:deploy,
read:manifest,
write:manifest
expiresIn
string
metadata
object

Response

Successful response