POST
/
v1
/
api
/
collections
/
add-source-to-collection
curl --request POST \
  --url https://app-api.starkai.io/v1/api/collections/add-source-to-collection \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "collection_id": "collection_123456789",
  "source_id": "source_123456789"
}'
{
  "status": true,
  "message": "Source added to collection successfully."
}
Check our Documention Page to create a new API Key

Authorizations

X-Api-Key
string
header
required

API Key for authentication

Body

application/json

Collection and source identifiers

The body is of type object.

Response

200
application/json

Source added to collection successfully

The response is of type object.