younifyd
Menu

Post Api V4 Collections Id Share

Share collection

POST/api/v4/collections/{id}/share

Use it in a workflow

  1. Add a step and choose the Bynder connector.
  2. Pick the Post Api V4 Collections Id Share action (under Collections).
  3. Fill in the fields below, then reference the result from later steps as {{postApiV4CollectionsIdShare.response.data}}.

Request

Path parameters

idstringrequired

Request body

Enter the body as JSON in the step's Body field.

recipientsstring
groupsstring
profilesstring
collectionOptionsstring

One ofreadOnlyviewreadAccessedit

loginRequiredboolean
dateStartstring
dateEndstring
sendMailboolean
messagestring
json
{
  "recipients": "user1@bynder.com,user2@bynder.com",
  "groups": "00000000-0000-0000-0000000000000000,00000000-0000-0000-0000000000000000",
  "profiles": "00000000-0000-0000-0000000000000000,00000000-0000-0000-0000000000000000",
  "collectionOptions": "view",
  "loginRequired": true,
  "dateStart": "2014-08-12T08:07:24Z",
  "dateEnd": "2015-08-12T08:07:24Z",
  "sendMail": true,
  "message": "Your message goes here"
}

Response

Returns 202 with an object. Read it in later steps with {{postApiV4CollectionsIdShare.response.data.<field>}}.

messagestring
statuscodeinteger
json
{
  "message": "accepted",
  "statuscode": 202
}

Need more? See the Bynder guide for connection setup and behaviour shared by every action.