API referenceRelationships
Search username prefixes
GET
Private accounts are discoverable here only as a minimal username/display-name card. This does not grant profile access.
AuthorizationBearer <token>
In: header
Query Parameters
cursor?string
Opaque continuation cursor
Length
1 <= lengthlimit?integer
Range
1 <= value <= 20Default
20q*string
Case-insensitive username prefix. Username setup is required for discovery.
Match
^[a-zA-Z0-9_]+$Length
2 <= length <= 32Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/relationships/search?q=day"{ "items": [ { "id": "post_01K4Y6P8K2", "username": "string", "displayName": "string", "relationship": "none" } ], "nextCursor": "string", "hasMore": true}