Upload attachment
POST: https://api.creditchek.africa/v1/erm/policy/products/attachment
Request Parameters
Name | Position | Required | Description |
---|---|---|---|
token | Headers | True | app public key |
file | Body | True | -------------- |
Example Request
---
curl --location --request POST 'https://api.creditchek.africa/v1/erm/policy/products/attachment' \
--header 'token: oORkkft9Ec5dQ36ixpxz5z21qnHrLm8h5L+h69DzktBm4REOjm0U4jv8XDPbsJH/' \
--form 'file=@"/Users/Downloads/Desktop/photo_2023-07-06_03-59-37.jpg"'
---
Response
{
"status": true,
"data": {
"attaachment_id": 1184
},
"message": null,
"error": false
}