POST
/
projects
/
{projectIdOrName}
/
consumers
curl --request POST \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName}/consumers \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "consumerRef": "consumer-123",
  "consumerName": "John doe"
}'
This response has no body data.

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required

Body

application/json
consumerRef
string
required

The consumer reference.

consumerName
string
required

The name of the consumer that has access to this installation.