Get Invitations
GET
/public/v3/invitations
none
none
none
Parameter | Data type | Required? | Description |
---|---|---|---|
data | Invitation | yes | Array of Invitations |
Parameter | Data type | Required? | Description |
---|---|---|---|
id | string | yes | Invitation ID |
customer_type | string | yes | Allowed:(Individual, Business) |
last_name | string | no | Last name |
first_name | string | no | First name |
company_name | string | no | Company name |
string | yes | ||
phone | string | no | phone |
reference | string | yes | Invitation reference |
send_email | boolean | yes | Determines if the invitation e-mail was sent |
created_at | integer | yes | Timestamp |
revoked_at | integer | yes | Timestamp |
used_at | integer | yes | Timestamp |
expires_in | integer | yes | Timestamp |
url | string | yes | Invitation URL |
1
2
3
curl --location --request GET 'https://api.friendlyscore.com/public/v3/invitations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {access_token}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"page": 0,
"pages": 0,
"max_per_page": 0,
"data": [
{
"id": "12345",
"customer_type": "Individual",
"last_name": "Doe",
"first_name": "John",
"company_name": "Example INC.",
"email": "example@example.com",
"phone": "+44123456789",
"reference": "some-reference-id",
"send_email": false,
"created_at": "1553077496",
"revoked_at": "1553077496",
"used_at": "1553077496",
"expires_in": "3600",
"url": "https://planky.com/invitation/123456789abcdef"
}
],
"_links": {
"self": {
"href": "string"
},
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"last": {
"href": "string"
}
}
}
Was this article helpful?
Friendly Score UK Ltd.
84 Brook Street
London W1K 5EH
Call us on +44 20 3709 6726
Company registered in England
Company number 09168668, ICO ZA111687
VAT registration number 206 9758 80
Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)