Skip to main content
POST
/
installations
/
{installation_id}
/
profiles
Creates an app profile
curl --request POST \
  --url https://api-dev.narrative.io/installations/{installation_id}/profiles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "My profile name",
  "description": "My profile description",
  "tags": [
    "production",
    "analytics"
  ]
}
'
{
  "id": "7bc22af4-fb6e-431e-92bc-e366e4f960ff",
  "name": "My profile name",
  "description": "My profile description",
  "status": "disabled",
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
  "app_name": "My App",
  "tags": [
    "production",
    "analytics"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

installation_id
string<uuid>
required

The installation ID

Body

application/json
name
string
description
string
tags
string[]

Optional list of tags to associate with the profile

Response

200 - application/json

The created profile

id
string<uuid>
name
string
description
string
status
enum<string>
Available options:
enabled,
disabled,
archived
app_id
string

The unique identifier of the app

app_name
string

The name of the app

tags
string[]

List of tags associated with the profile