Get contact
curl --request GET \
--url https://nudgen.net/api/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nudgen.net/api/v1/contacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://nudgen.net/api/v1/contacts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"contact": {
"id": "<string>",
"email": "jsmith@example.com",
"name": "<string>",
"phone": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>"
}API reference
Get contact
GET
/
api
/
v1
/
contacts
/
{id}
Get contact
curl --request GET \
--url https://nudgen.net/api/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nudgen.net/api/v1/contacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://nudgen.net/api/v1/contacts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"contact": {
"id": "<string>",
"email": "jsmith@example.com",
"name": "<string>",
"phone": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>"
}⌘I