Logo PopinaPopina API

Create a new consumer

Create a new consumer by providing his name. Name has to be unique.

POST/v1/consumers/
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

namestring
Length2 <= length <= 255

Response Body

application/json

curl -X POST "https://api.pragma-project.dev/v1/consumers/" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "d6f5e4d3-c2b1-42a0-9c68-31a3b4d5e6f7",
  "createdAt": {},
  "updatedAt": {},
  "name": "CONSUMER_NAME",
  "scopes": []
}