POST https://api.actonsoftware.com/api/1/logo
This endpoint allows you to add a logo to the account.
Customers wanting to access our API via our gateway in the EU can use this link:
POST https://api-eu.actonsoftware.com/api/1/logo
Parameters
| Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
|---|---|---|---|---|---|
| Authorization: | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
| name | Form | False | Required | String | Specify a name for the image. |
| alttext | Form | False | Optional | String | Specify the alternative text for the image. |
| tooltip | Form | False | Optional | String | Specify the text to display when hovering over the image. |
| targeturl | Form | False | Optional | String | Specify the target URL for the image. |
| Body | False | Required | File | Attach the image file. | |
| imagelink | Form | False | Required | String | Specify the link to the image file. |
Parameter Notes
You can attach a file or you can use a link (imagelink) to add an image but you can use both in the same request.
Response
{
"status": "success",
"message": "The logo has been uploaded",
"id": "i-5"
}
Code Examples
cURL
curl -X POST https://api.actonsoftware.com/api/1/logo -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -H "Content-Type: multipart/form-data;" -F "name=test-logo" -F file=@/Users/john.doe/Documents/logo.png