| Name | Type | Reference |
|---|---|---|
| card_uidrequired | string | Card UID |
| Name | Value | Description |
|---|---|---|
| Authorizationrequired | Bearer <token> | API token is required |
| Content-Type | multipart/form-data |
| Description | Response type | Example |
|---|---|---|
| Success | Object | Response body does not exist |
| Name | Type | Description |
|---|---|---|
| id | string | File id |
| name | string | File name |
| size | string | File size in bytes (bigint serialized as string) |
| mime_type | string | MIME type |
| author_uid | string | Author UID |
| card_uid | string | Card UID |
| company_uid | string | Company UID |
| entity_type | string | File entity type |
| created | string | Create date |
| updated | string | Last update timestamp |
| card_cover | boolean | Flag indicating that image is used as card cover |
| Description | Response type | Example |
|---|---|---|
| Validation error | Object | Response body does not exist |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Not found | Response body does not exist |
A schema has not been defined for this response code.
Path Parameters
Upload file
1 curl --request POST \
2 --url 'https://example.flowfast.io/api/latest/cards/{card_uid}/files' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: multipart/form-data' \
5
6 Response
ClickTry It!to start a request and see the response here!