Skip to main content

Cookie Object v2

Technical guide to managing cookies associated with relationships in Accelerate using API v2.

Tom White avatar
Written by Tom White
Updated over 11 months ago

Path Parameters

HTTP Header

api-key REQUIRED

string - Your Accelerate API Key

URL Substitution

subdomain REQUIRED
string - Your Accelerate subdomain

relationship ID REQUIRED
integer - ID of your chosen relationship


Cookie Requests

GET POST

GET POST - Retrieve cookies from a relationship or add a new cookie to a relationship.

https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/relationships/{id}/cookies/

Example Payload

POST

{
"cookie_text": "Testing cookie"
}

Response

400
​

Returned if the request sent is invalid.

404
​

Returned if the request is not found or the user does not have permission to view it.

200
Returned if the request is successful.

Expand to see example of a successful response.

{
"items": [
{
"cookie_id": 10107,
"cookie_text": "Testing cookie",
"creation_date": "2022-08-03 11:11:09"
}
]
}

Cookie Attributes

When adding a new cookie via the API, there are a number of fields needed.


Mandatory Fields

Expand to see the list of mandatory fields

cookie_text - string
Maximum of 4000 characters.


Non Mandatory Fields

Expand to see the lists of non-mandatory fields.

cookie_id - number
Must not be supplied when using POST .

creation_date - date
Must not be supplied when using POST .

Did this answer your question?