POST
/
projects
/
{project_id}
/
events
/
{event_id}
/
evidences
curl --request POST \
--url https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/evidences \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"evidences": [
{
"type": "file",
"data": {
"file": {
"name": "Receipt.pdf",
"type": "application/pdf",
"base64": "<base64-encoded-content>"
}
}
},
{
"type": "url",
"data": {
"link": {
"url": "https://www.google.com",
"name": "Google Homepage"
}
}
}
]
}'
{
  "data": [
    {
      "id": 1,
      "url": "https://app.gomangrove.com/....",
      "evidence_type": "file",
      "name": "Receipt.pdf"
    },
    {
      "id": 2,
      "url": "https://www.google.com",
      "evidence_type": "url",
      "name": "Google Homepage"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
string
required
event_id
string
required

Unique event ID in the evt_XXXX syntax. For example: evt_DLnYvzbjSujNAvXE

Body

application/json

Response

200
application/json

200

The response is of type object[].