Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Users directory

42 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Get channel user profiles (tenant-scoped, paginated)

GET/user

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
x-refstring, header

Response

200. The payload in data is not described in the spec yet.

Get a specific user profile by ID

GET/user/{id}

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query

Response

200. The payload in data is of type object.

Update a specific user profile by ID

PATCH/user/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
firstnamestringExample: "Riya"
lastnamestringExample: "Goyal"
mobilestringExample: "9999999999"
usernamestringExample: "riya123"
avatarstringExample: "https://example.com/photo.jpg"
languagestring
user_groupstring
user_categorystring
genderstring
date_of_birthstring
biostring
descriptionstring
linkstring
custom_linkstring
blood_groupstring
locationstringHome area "lat,lng" for people nearby (stored rounded to ~1 km) Example: "51.523,-0.078"
placestringAt most 120 characters. Example: "Shoreditch, London"

Response

200. The payload in data is not described in the spec yet.

Block a user profile

POST/user/{id}/block

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Get a profile's public donations (paged, with total)

GET/user/{id}/donations

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Follow a user profile

POST/user/{id}/follow

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Get list of followers for a profile

GET/user/{id}/followers

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
ids_onlyrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is of type object.

Get list of profiles this profile is following

GET/user/{id}/following

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
ids_onlyrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is of type object.

Unblock a user profile

POST/user/{id}/unblock

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Unfollow a user profile

POST/user/{id}/unfollow

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Get list of User Categories

GET/user/categories

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Get list of User Categories

GET/user/category

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Check if a username is available in the channel (x-ref, else the session's); same answer as GET /usernames/availability

GET/user/check-username/{username}

Public: no sign-in needed.

Parameters

NameTypeDescription
usernamerequiredstring, path
x-refstring, header

Response

200. The payload in data is of type object.

Create User KYC

POST/user/kyc

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
active_profile_idstringProfile to file this KYC under (must be yours)
legalnamerequiredstringExample: "John Doe"
fathernamestringExample: "Richard Doe"
mothernamestringExample: "Jane Doe"
tax_id_numberstringExample: "ABCDE1234F"
id_numberstringExample: "ID-987654321"
nationalitystringExample: "Indian"
citizenshipstringExample: "India"

Response

201. The payload in data is not described in the spec yet.

Delete user profile and account (moves to trash)

DELETE/user/profile

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Check if a username is available for a specific profile ID

POST/user/profile/{id}

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
usernamerequiredstringExample: "riya123"

Response

201. The payload in data is of type object.

Get all blocked profiles for the active profile

GET/user/profile/blocked

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Create a new user profile

POST/user/profile/create

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
firstnamestringExample: "Riya"
lastnamestringExample: "Goyal"
usernamestringExample: "riya123"
avatarstringExample: "https://example.com/photo.jpg"
languagestring
user_groupstring
user_categorystring
genderstring
date_of_birthrequiredstringExample: "1995-04-21"
biostring
descriptionstring
linkstring
custom_linkstring
blood_groupstring
locationstringHome area "lat,lng" for people nearby (stored rounded to ~1 km) Example: "51.523,-0.078"
placestringAt most 120 characters. Example: "Shoreditch, London"

Response

201. The payload in data is not described in the spec yet.

Add or Update User Profile Detail (Upsert)

POST/user/profiledetail

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
active_profile_idstringProfile to update (must be yours)
zodiacstring
clanstring
mangalboolean
birth_placeobject
heightnumber
weightnumber
body_typestring
current_relationshipstring
relationship_intentstring
current_childrenboolean
children_intentboolean
native_languagestring
languagesstring[]
orientationstring
horoscopestring

Response

201. The payload in data is not described in the spec yet.

Add or update user profile privacy settings

POST/user/profileprivacy

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
active_profile_idstringProfile to update (must be yours)
martial_statusobject
orientationobject
religionobject
ageobject
heightobject
current_relationship_statusobject
locationobject

Response

200. The payload in data is not described in the spec yet.

Get profiles belonging to the currently logged-in user

GET/user/profiles

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.

Get channel user profiles (tenant-scoped, paginated)

GET/users

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
x-refstring, header

Response

200. The payload in data is not described in the spec yet.

Get a specific user profile by ID

GET/users/{id}

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query

Response

200. The payload in data is of type object.

Update a specific user profile by ID

PATCH/users/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
firstnamestringExample: "Riya"
lastnamestringExample: "Goyal"
mobilestringExample: "9999999999"
usernamestringExample: "riya123"
avatarstringExample: "https://example.com/photo.jpg"
languagestring
user_groupstring
user_categorystring
genderstring
date_of_birthstring
biostring
descriptionstring
linkstring
custom_linkstring
blood_groupstring
locationstringHome area "lat,lng" for people nearby (stored rounded to ~1 km) Example: "51.523,-0.078"
placestringAt most 120 characters. Example: "Shoreditch, London"

Response

200. The payload in data is not described in the spec yet.

Block a user profile

POST/users/{id}/block

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Get a profile's public donations (paged, with total)

GET/users/{id}/donations

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Follow a user profile

POST/users/{id}/follow

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Get list of followers for a profile

GET/users/{id}/followers

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
ids_onlyrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is of type object.

Get list of profiles this profile is following

GET/users/{id}/following

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
ids_onlyrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is of type object.

Unblock a user profile

POST/users/{id}/unblock

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Unfollow a user profile

POST/users/{id}/unfollow

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Get list of User Categories

GET/users/categories

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Get list of User Categories

GET/users/category

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Response

200. data is object[].

Check if a username is available in the channel (x-ref, else the session's); same answer as GET /usernames/availability

GET/users/check-username/{username}

Public: no sign-in needed.

Parameters

NameTypeDescription
usernamerequiredstring, path
x-refstring, header

Response

200. The payload in data is of type object.

Create User KYC

POST/users/kyc

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
active_profile_idstringProfile to file this KYC under (must be yours)
legalnamerequiredstringExample: "John Doe"
fathernamestringExample: "Richard Doe"
mothernamestringExample: "Jane Doe"
tax_id_numberstringExample: "ABCDE1234F"
id_numberstringExample: "ID-987654321"
nationalitystringExample: "Indian"
citizenshipstringExample: "India"

Response

201. The payload in data is not described in the spec yet.

Delete user profile and account (moves to trash)

DELETE/users/profile

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Check if a username is available for a specific profile ID

POST/users/profile/{id}

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
usernamerequiredstringExample: "riya123"

Response

201. The payload in data is of type object.

Get all blocked profiles for the active profile

GET/users/profile/blocked

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Create a new user profile

POST/users/profile/create

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
firstnamestringExample: "Riya"
lastnamestringExample: "Goyal"
usernamestringExample: "riya123"
avatarstringExample: "https://example.com/photo.jpg"
languagestring
user_groupstring
user_categorystring
genderstring
date_of_birthrequiredstringExample: "1995-04-21"
biostring
descriptionstring
linkstring
custom_linkstring
blood_groupstring
locationstringHome area "lat,lng" for people nearby (stored rounded to ~1 km) Example: "51.523,-0.078"
placestringAt most 120 characters. Example: "Shoreditch, London"

Response

201. The payload in data is not described in the spec yet.

Add or Update User Profile Detail (Upsert)

POST/users/profiledetail

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
active_profile_idstringProfile to update (must be yours)
zodiacstring
clanstring
mangalboolean
birth_placeobject
heightnumber
weightnumber
body_typestring
current_relationshipstring
relationship_intentstring
current_childrenboolean
children_intentboolean
native_languagestring
languagesstring[]
orientationstring
horoscopestring

Response

201. The payload in data is not described in the spec yet.

Add or update user profile privacy settings

POST/users/profileprivacy

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
active_profile_idstringProfile to update (must be yours)
martial_statusobject
orientationobject
religionobject
ageobject
heightobject
current_relationship_statusobject
locationobject

Response

200. The payload in data is not described in the spec yet.

Get profiles belonging to the currently logged-in user

GET/users/profiles

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.