curl --request GET \
--url https://spectrum.photon.codes/projects/{projectId}/lines/{
"succeed": true,
"data": {
"lines": [
{
"platform": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phoneNumber": "<string>",
"createdAt": "<string>"
}
]
}
}Returns only dedicated phone lines the project owns across all platforms. Use the optional platform query parameter to filter to a single platform. On iMessage Free or Pro plans, lines are assigned per-user rather than dedicated to the project — for those cases, redirect users via GET /users/{userId}/redirect instead. Requires Authorization: Basic base64(projectId:projectSecret).
curl --request GET \
--url https://spectrum.photon.codes/projects/{projectId}/lines/{
"succeed": true,
"data": {
"lines": [
{
"platform": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phoneNumber": "<string>",
"createdAt": "<string>"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$imessage, whatsapp_business, voice, slack Was this page helpful?