Create a context
POST /create-context
POST
/create-context
Create a new context to transmit sensitive information that should not be gathered within access logs or viewed by the respondent.
Learn more here.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” dynata-expiration
required
string format: date-time
RFC3339 timestamp indicating request expiration
dynata-access-key
required
string
Dynata provided access key
Example
ABCD1234
dynata-signature
required
string
Signature created using the dynata methodology
Example
c156e91013eb715edb2b07df5491497a807206b1796bb7d031505107a9dbdcdf
Request Body
Section titled “Request Body ”object
id
string
expiration
string format: date-time
items
required
object
key
additional properties
string
Examples
{ "id": "something_unique", "items": { "ctx": "a987dsglh34t435jkhsdg98u", "gender": "male", "postal_code": "60081", "birth_date": "1959-10-05", "country": "US" }}
{ "items": { "ctx": "a987dsglh34t435jkhsdg98u", "gender": "male", "postal_code": "60081", "birth_date": "1959-10-05", "country": "US" }}
Responses
Section titled “ Responses ”Context created successfully
object
id
string
Bad request
object
message
required
string
Invalid credentials
object
message
required
string
Unauthorized
object
message
required
string
Internal server error
object
message
required
string