Register APIContacts
Contact Session Tokens
Find a Contact's Session Token to identify and validate them.
Find Contact Session Token
Find a Contact's Session Token to identify and validate them.
GET
https://api.piggy.eu/api//contact-session-tokens/{{contact_session_token}}Headers
Authorization
Bearer {{ api_key }}
Accept
application/json
Response Example
{
"data": {
"token": "12345abcdefg",
"contact": {
"uuid": "123abc-def789-qwerty-34567"
"email": "spongebob@bikinibottom.sea
},
"status": "active",
},
"meta": []
}Use Contact Session Token
Mark a session token as used, making it invalid for next attempts.
POST
https://api.piggy.eu/api//contact-session-tokens/{{contact_session_token}}/useHeaders
Authorization
Bearer {{ api_key }}
Accept
application/json
Response Example
{
"data": {
"token": "12345abcdefg",
"contact": {
"uuid": "123abc-def789-qwerty-34567",
"email": "spongebob@bikinibottom.sea
},
"status": "used",
},
"meta": []
}Contact Identifiers
Mostly, Contacts are identified by their email address. However, Contact Identifiers can also be used to retrieve a Contact's information. Most current Contact
Contact Subscriptions
Contact Subscriptions are the links between Subscription Types and Contacts. A Contact is either subscribed or unsubscribed, which decides whether or not they w