Create collection
Changed onCreate a new collection. Institutions with item-type based metadata enabled wrap metadata in a fields object; stock fields are categories, funding_list, related_materials, and publisher. categories input is a list of objects, each identified by either id (int) or source_id (string); mixed entries allowed ([{"id": 69}, {"source_id": "3001"}]). Unresolved source_id values are reported in the response warnings array. Bare integers are rejected. Unrecognised field names inside fields (e.g. a typo) are rejected with 422. licence is no longer accepted on collections (removed Apr 2026). Institutions without item-type based metadata can use the legacy flat-payload form.
Request
- Base URLhttps://api.figshare.com/v2
- AuthOAuth 2Authorization codehttps://figshare.com/account/applications/authorizeToken URLhttps://api.figshare.com/v2/tokenScopesall
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"title": "Test collection title",
"description": "Test description of article",
"articles": [
2000001,
2000005
],
"authors": [
{
"name": "John Doe"
},
{
"id": 20005
}
],
"categories": [
1,
10,
11
],
"categories_by_source_id": [
"300204",
"400207"
],
"tags": [
"tag1",
"tag2"
],
"keywords": [
"tag1",
"tag2"
],
"references": [
"http://figshare.com",
"http://api.figshare.com"
],
"related_materials": [
{
"id": 10432,
"identifier": "10.6084/m9.figshare.1407024",
"identifier_type": "DOI",
"relation": "IsSupplementTo",
"title": "Figshare for institutions brochure",
"is_linkout": false
}
],
"custom_fields": {
"defined_key": "value for it"
},
"custom_fields_list": [
{
"name": "key"
}
],
"timeline": {
"firstOnline": "2015-12-31",
"publisherPublication": "2015-12-31",
"publisherAcceptance": "2015-12-31"
},
"fields": {
"title": "My Collection",
"description": "Collection description",
"keywords": [
"keyword1"
],
"publisher": "Springer Nature",
"categories": [
{
"id": 69
},
{
"source_id": "3001"
}
]
}
}Response
Created
Example response
{
"entity_id": 33334444
}Changes
- info
added the new optional request property
- info
the request property
became optional
- info
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking