Skip to main content
ApiProfiles

Create a profile

Profiles group integrations under a label. Pass the returned id as profileId when calling /v1/connect/:platform to bind the resulting integration to this profile.

POST/v1/profiles/

Authorization

accessKey
x-access-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.postpeer.dev/v1/profiles/" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "success": true,
  "profile": {
    "id": "string",
    "name": "string",
    "description": "string",
    "integrationCount": 0,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}