Skip to main content
POST
/
groups
cURL
curl --request POST \
  --url http://base.url.com/groups \
  --header 'Content-Type: application/json' \
  --header 'x-phishy-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "color": "<string>"
}
'
{
  "error": 123,
  "message": "<string>"
}

Authorizations

x-phishy-api-key
string
header
required

Body

application/json

Group details

name
string

Name of the group

description
string

Description of the group

color
string

Hexadecimal color code representing the group

Response

Group created successfully