POST
/
admin
/
notes
/
{type}
/
{program_id}
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/notes/{type}/{program_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "note": "This is a note.",
  "entity_id": "1",
  "donor_id": "1",
  "client_id": "1",
  "program_id": "donor",
  "type": "donor",
  "categories": "ALL"
}'
{
  "message": "Successful"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

type
string
required

Type of the note

program_id
integer
required

ID of the program

Body

application/json
Input data format
note
string

The note text

Example:

"This is a note."

entity_id
string
Example:

"1"

donor_id
string
Example:

"1"

client_id
string
Example:

"1"

program_id
string
Example:

"donor"

type
string
Example:

"donor"

categories
string

The category of the note

Example:

"ALL"

Response

200
application/json
Successful operation
message
string

Success message

Example:

"Successful"