Skip to main content
POST
/
consumer
/
connection
/
share_request
Create Share Request
curl --request POST \
  --url https://api.pathstack.io/consumer/connection/share_request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "filter": {}
}
'
{
  "data": {
    "id": "<string>",
    "created_at": "<string>",
    "responded_at": "<string>",
    "consumer_tenant": {
      "id": "<string>",
      "name": "<string>"
    },
    "provider_email": "[email protected]",
    "provider_tenant_id": "<string>",
    "filter_id": "<string>",
    "share_code": "<string>",
    "accepted": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string<date>
default:2024-03-26

Body

application/json
email
string<email>
required
filter
Filter · object

Response

Successful Response

data
ShareRequest · object
required

Successful response payload