API Version: 6.4
System-Admin
or Company-Admin
permissions./rest/ops/create/
{
"type": "authinfo",
"values":{
"contact_id": contact-id-to-add-key,
"type": "auth",
"subtype": "key",
"token": "long-and-secure-auth-key-token-string"
}
}
{
"type":"authinfo",
"values":{
"contact_id": 123
"type": "auth",
"subtype": "key",
"token": "VHUSAIbicp-asi9pbhucp909gb88s78bt7csbt7os"
}
}
/rest/ops/read/
{
"type":"authinfo",
"columns":["columns", "to", "return", ...],
"scope":{
"column": value-to-match,
...
}
}
{
"type":"authinfo",
"columns":["token"],
"scope":{
"contact_id": 123,
"type": "auth",
"subtype": "key",
}
}
/rest/ops/update/
scope
from a read and values
from a create to cause an update.{
"type": "authinfo",
"scope":{
"column": value-to-match,
...
},
"values":{
"contact_id": contact-id-to-add-key,
"type": "auth",
"subtype": "key",
"token": "long-and-secure-auth-key-token-string"
}
}
{
"type":"authinfo",
"scope":{
"contact_id": 123,
"type": "auth",
"subtype": "key",
},
"values":{
"token": "VHUSAIbicp-asi9pbhucp909gb88s78bt7csbt7os"
}
}
/rest/ops/delete/
{
"type":"authinfo",
"scope":{
"column": value-to-match,
...
}
}
{
"type":"authinfo",
"scope":{
"contact_id": 123,
"type": "auth",
"subtype": "key"
}
}