# Scout RFP (Workday Strategic Sourcing) attachments API

**Canonical:** https://apis.io/apis/scoutrfp/scoutrfp-attachments-api/  
**Provider:** Scout RFP (Workday Strategic Sourcing) — https://apis.io/providers/scoutrfp/  
**Base URL:** https://api.us.workdayspend.com/services/suppliers/v1  
**Documentation:** https://apidocs.workdayspend.com/services/suppliers/v1.html

Scout RFP (Workday Strategic Sourcing) attachments API is one of 46 APIs that [Scout RFP (Workday Strategic Sourcing)](https://apis.io/providers/scoutrfp/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Attachments. The published artifact set on APIs.io includes an OpenAPI specification.

Use the attachments API to create, update, and delete the attachments in Workday Strategic Sourcing. ## Working with Attachments Creating attachments for Workday Strategic Sourcing objects is a two-step process. First, you need to inform the system about your intention to upload an attachment by issuing a "Create an Attachment" request, consisting of the file name and a link to the object to which you are adding an attachment. The link is represented by a relationship object containing an object ID and its type. In the response you will receive a link in the `upload_url` attributes, along with required HTTP headers to send with your file. You will need to upload your file as a binary stream in a PUT request into the specified URL, making sure the required headers are present. Here is how the workflow might look like when triggered from a console: ```bash $ curl -H "X-Api-Key: ${COMPANY_KEY}" \ -H "X-User-Token: ${USER_TOKEN}" \ -H "X-User-Email: ${USER_EMAIL}" \ -H "Content-Type: application/vnd.api+json" \ -X POST \ -d ' { "data": { "type": "attachments", "attributes": { "title": "My Interesting Document", "file_name": "Some Interesting File.pdf" }, "relationships": { "contract": { "data": { "id": 1, "type": "contracts" } } } } } ' \ "https://api.us.workdayspend.com/services/attachments/v1/attachments" { "data": { "id": "1", "type": "attachments", "attributes": { "title": "My Interesting Document", "file_size": null, "upload_url": "https://upload.s3.amazonaws.com/uploads/contract/1/hex/file.pdf?some=very&long=url", "upload_headers": [ { "name": "Content-Type", "value": "application/octet-stream" }, { "name": "x-amz-acl", "value": "private" }, { "name": "x-amz-server-side-encryption", "value": "AES256" }, { "name": "Content-Disposition", "value": "attachment" } ] } } } $ curl -X PUT \ --data "@file.pdf" \ -H "Content-Type: application/octet-stream" \ -H "x-amz-acl: private" \ -H "x-amz-server-side-encryption: AES256" \ -H "Content-Disposition: attachment" \ https://upload.s3.amazonaws.com/uploads/contract/1/hex/file.pdf?some=very&long=url ``` The upload URL expires within 15 minutes after issuing. Please note that you will not be able to upload the data file to the attachment object after that. An automated system will purge all partial uploads after a certain period (usually within 30-60 minutes after creation) to prevent orphan records from overflowing the system. **Please Note**: The list of headers and their values might change at any time, so when you're implementing an integration with the Workday Strategic Sourcing system, make sure to include all of the HTTP headers returned from the attachments endpoint. ## Attachment Object <SchemaDefinition schemaRef="#/components/schemas/Attachment" showReadOnly={true} showWriteOnly={true} />

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/scoutrfp/refs/heads/main/openapi/scoutrfp-attachments-api-openapi.yml
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/scoutrfp/refs/heads/main/apis.yml

## Other Scout RFP (Workday Strategic Sourcing) APIs (12)

- [Scout RFP (Workday Strategic Sourcing) award_line_items API](https://apis.io/apis/scoutrfp/scoutrfp-award-line-items-api/)
- [Scout RFP (Workday Strategic Sourcing) awards API](https://apis.io/apis/scoutrfp/scoutrfp-awards-api/)
- [Scout RFP (Workday Strategic Sourcing) bid_line_items API](https://apis.io/apis/scoutrfp/scoutrfp-bid-line-items-api/)
- [Scout RFP (Workday Strategic Sourcing) bids API](https://apis.io/apis/scoutrfp/scoutrfp-bids-api/)
- [Scout RFP (Workday Strategic Sourcing) contact_types API](https://apis.io/apis/scoutrfp/scoutrfp-contact-types-api/)
- [Scout RFP (Workday Strategic Sourcing) contract_milestone_reports API](https://apis.io/apis/scoutrfp/scoutrfp-contract-milestone-reports-api/)
- [Scout RFP (Workday Strategic Sourcing) contract_reports API](https://apis.io/apis/scoutrfp/scoutrfp-contract-reports-api/)
- [Scout RFP (Workday Strategic Sourcing) contract_types API](https://apis.io/apis/scoutrfp/scoutrfp-contract-types-api/)
- [Scout RFP (Workday Strategic Sourcing) contracts API](https://apis.io/apis/scoutrfp/scoutrfp-contracts-api/)
- [Scout RFP (Workday Strategic Sourcing) discovery API](https://apis.io/apis/scoutrfp/scoutrfp-discovery-api/)
- [Scout RFP (Workday Strategic Sourcing) event_reports API](https://apis.io/apis/scoutrfp/scoutrfp-event-reports-api/)
- [Scout RFP (Workday Strategic Sourcing) event_supplier_companies API](https://apis.io/apis/scoutrfp/scoutrfp-event-supplier-companies-api/)

## Tags

Attachments

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/scoutrfp/scoutrfp-attachments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/scoutrfp/.
