Skip to Content
Integrations

Create an integration in your current Studio workspace

POST
/integrations

Authorization

studioSession
cookie__Secure-avatarstudio.session_token<token>

An authenticated Studio session. Each operation enforces its resource and role permissions.

Request Body

application/json
  1. body
namerequiredstring
Match^[^\u0000-\u001f\u007f]+$
Length1 <= length <= 100
scopesrequiredarray<>
Items1 <= items <= 9
resource_policyrequired|
requests_per_minuteinteger
Range1 <= value <= 6000
Default120
Create an integration in your current Studio workspace
curl -X POST 'https://example.com/v1/integrations' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "scopes": [
    "experiences:read"
  ],
  "resource_policy": {
    "mode": "owned"
  }
}'
{
  "id": "string",
  "object": "integration",
  "name": "string",
  "environment": "development",
  "organization_id": "string",
  "scopes": [
    "experiences:read"
  ],
  "resource_policy": {
    "mode": "owned"
  },
  "requests_per_minute": -9007199254740991,
  "status": "active",
  "created_at": -9007199254740991,
  "revoked_at": -9007199254740991
}

Response Body

OK

application/json
  1. response
idrequiredstring
Match^ipr_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
objectrequiredunknown
namerequiredstring
environmentrequiredstring
Value in"development""production"
organization_idrequiredstring|null
scopesrequiredarray<>
Items1 <= items <= 9
resource_policyrequired|
requests_per_minuterequiredinteger
Range-9007199254740991 <= value <= 9007199254740991
statusrequiredstring
Value in"active""revoked"
created_atrequiredinteger
Range-9007199254740991 <= value <= 9007199254740991
revoked_atrequired|null