PostZen
Profiles

Get a profile

GET
/v1/profiles/{profileId}

Returns a single profile visible to the API key.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

profileId*string

PostZen profile id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/profiles/string"
{  "profile": {    "_id": "string",    "userId": "string",    "name": "string",    "description": "string",    "color": "string",    "isDefault": true,    "createdAt": "2019-08-24T14:15:22Z"  }}
{  "error": "Unauthorized"}
{  "error": "API key requires read_write permission"}
{  "error": "Not found"}
{  "error": "Failed to create post"}