Skip to main content
POST
/
admin
/
api
/
v1
/
Profile
Create a new profile
curl --request POST \
  --url https://admin-api.meshconnect.com/admin/api/v1/Profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "catalogConfiguration": {
    "excludeIntegrationCategories": [
      "<string>"
    ],
    "excludeIntegrations": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "integrationWhiteList": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ]
  },
  "fundingTokenWhitelist": [
    "<string>"
  ]
}
'
{
  "message": "<string>",
  "displayMessage": "<string>",
  "errorHash": "<string>",
  "teamCode": "<string>",
  "errorType": "<string>",
  "errorData": null,
  "content": {
    "profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "catalogConfiguration": {
      "excludeIntegrationCategories": [
        "<string>"
      ],
      "excludeIntegrations": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "integrationWhiteList": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ]
    },
    "fundingTokenWhitelist": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Example: "Authorization: Bearer {Value}"

Body

application/json

Create profile request

name
string
required
Required string length: 1 - 200
catalogConfiguration
object

Catalog configuration for a profile. By default all integrations show; the fields below curate the catalog. integrationWhiteList cannot be combined with excludeIntegrationCategories or excludeIntegrations.

fundingTokenWhitelist
string[] | null

Reserved. Profile-level funding token whitelist is not yet supported; this field is ignored on write and the response reflects the parent client's funding token whitelist. Tracked under PRG-2682.

Maximum array length: 100

Response

Profile created

status
enum<string>
Available options:
ok,
serverFailure,
permissionDenied,
badRequest,
notFound,
conflict,
tooManyRequest,
locked,
unavailableForLegalReasons
message
string | null

A message generated by the API

displayMessage
string | null

User-friendly display message that can be presented to the end user

errorHash
string | null
read-only

An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping

teamCode
string | null
read-only

Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS. Format: 2-character code (e.g., "7K", "M2"). Use for alerting/routing, not display.

errorType
string | null

Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.

errorData
unknown
content
object