Photon
Connect Photon to Claude Code, Codex, Cursor or any MCP agent through CoreSpeed. Send and read iMessage, WhatsApp, SMS and email conversations through Photon, provision the lines and numbers behind them, and manage a project's webhooks, agent profile, metrics and billing. Your agent works through your own Photon account and gets 119 Photon tools; CoreSpeed holds the credential, so the agent never sees the token. Calling it is free.
Tools119
- Free
photon__get_accountGet the Photon account the connection acts as: id, email, name, phone.Needs an Account Service Key; a project key is refused.
- Free
photon__get_current_organizationGet the organization this connection acts in — the one a sign-in with Photon was approved for — with the organizationId list_projects needs.Not in Photon's published API document; Photon support confirmed it (needs organization:read).
- Free
photon__update_accountChange the account's first or last name (lastName null clears it).Needs an Account Service Key.
- Free
photon__list_connected_applicationsList the OAuth applications authorized on the account.Needs an Account Service Key.
- Free
photon__revoke_connected_applicationRevoke one OAuth application's grant on the account (application.id, connect_app_…).Needs an Account Service Key.
- Free
photon__list_account_service_keysList the account's Account Service Keys — names, ids, expiry — never their secrets.Create or revoke them in Photon's dashboard or CLI.
- Free
photon__get_organization_billingRead an organization's billing subscription, charges and entitlements.
- Free
photon__list_invoicesList an organization's invoices (zero-total invoices are left out).
- Free
photon__get_organization_payment_methodWhether the organization has a card on file, and its non-secret details.
- Free
photon__create_payment_method_checkoutGet a hosted URL where a person adds a payment card for the organization.Hand the URL to a human; check get_organization_payment_method afterwards.
- Free
photon__list_billing_plansList Photon's plan catalog (the same for every project): categories, plan codes and what they include.Use it to choose change_plan's category and planCode.
- Free
photon__get_project_billingA project's plans, entitlements and current-period usage.
- Free
photon__get_billing_operationPoll a plan change (change_plan answers an operation id, pho_bop_…) until it succeeds or fails.
- Free
photon__change_planPurchase or change a project's plan for one category (e.g. messaging → a planCode from list_billing_plans).Charges the organization's card on file. Usually answers 202 with a billing operation to poll with get_billing_operation.
- Free
photon__cancel_subscriptionSchedule a project's billing category to stop at the end of its current period; it stays active until cancelsAt.
- Free
photon__resume_subscriptionRemove a scheduled cancellation so the category renews normally.
- Free
photon__list_projectsList an organization's active projects, newest first; filter by name text and creation window; page with pageToken.Needs an Account Service Key.
- Free
photon__count_projectsCount the projects list_projects would return for the same filters.
- Free
photon__check_project_slugWhether create_project would accept this slug right now (advisory: the create itself allocates).
- Free
photon__create_projectCreate a project in an organization.The slug (3–63 lowercase alphanumerics and single hyphens) is permanent. Needs an Account Service Key.
- Free
photon__get_project_closure_statusProgress of a project deletion (delete_project): per-domain progress and whether closure is complete.
- Free
photon__get_projectGet a project: name, slug, organization, agent profile.With no projectId, the connection's own project — the way to learn its organizationId.
- Free
photon__update_projectRename a project (the slug cannot change).Needs an Account Service Key.
- Free
photon__delete_projectStart deleting a project and everything in it — its lines, numbers, messages and keys.Follow with get_project_closure_status. Needs an Account Service Key; a connection whose own project this is stops working.
- Free
photon__get_agent_profileThe project's agent profile: the name and avatar recipients see.
- Free
photon__update_agent_profileChange the agent's first or last name (lastName null clears it).
- Free
photon__create_agent_avatar_uploadStart an avatar change: a ten-minute presigned S3 POST (uploadUrl + formFields) for a JPEG, PNG or WebP up to 5 MiB.Upload the file there without Photon credentials, then commit_agent_avatar with the uploadId.
- Free
photon__commit_agent_avatarMake an uploaded image (create_agent_avatar_upload's uploadId) the agent's avatar.
- Free
photon__reset_agent_avatarReplace the agent's avatar with Photon's default planet image; the custom avatar is discarded.
- Free
photon__list_project_api_keysList a project's API keys — names, permissions, expiry — never their secrets.Create, change or revoke them in Photon's dashboard or CLI. Needs an Account Service Key.
- Free
photon__send_messageSend into a conversation (Space) as one of the project's agents: a text (plain or markdown), an uploaded attachment or voice note, a reaction to a message (parentMessageId), a poll or a vote on one, a read receipt, a typing update, a DTMF digit on a call, or a group of such parts.SMS, email, WhatsApp, WhatsApp Business and dedicated iMessage lines; email takes to/cc/bcc/subject. Answers 202: the Message with status accepted, then delivered or failed (get_message). Edits, unsends, poll changes and participant changes are their own tools.
- Free
photon__edit_messageEdit the text of a message this agent sent, where the platform supports edits (iMessage, WhatsApp).Answers 202 with the edit as a Message.
- Free
photon__unsend_messageUnsend (delete) a message this agent sent, for everyone where the platform supports it.reason and scope are Photon's optional notes on the deletion.
- Free
photon__remove_reactionTake back a reaction this agent added to a message.
- Free
photon__update_pollChange a poll this agent sent: its question, options or selection mode (the whole poll is restated).
- Free
photon__update_space_participantsAdd or remove participants of a group conversation.Pass the User records get_user returns; their timestamps are dropped, as Photon's snapshot shape requires. At least one of added or removed.
- Free
photon__list_messagesList a project's messages, newest first: filter by line (resourceId), conversation, user perspective, direction, platform and time; page with pageToken (at most 200 a page).Eventually consistent.
- Free
photon__count_messagesCount messages matching list_messages' filters; groupBy direction and/or perspectiveUser, or interval=day for daily buckets in a timeZone.
- Free
photon__get_messageGet one message by id: content, sender, space, status (received, accepted, dispatched, delivered, failed) and timestamps.
- Free
photon__mark_message_readSend a read receipt for an incoming message from its receiving line.Answers 202 with the action Message that tracks the outcome.
- Free
photon__list_spacesList conversations: filter by platform, participant (id or phone/email handle), time, or by a message they contain; order by last_message_created_at for most recent activity.At most 100 a page.
- Free
photon__count_spacesCount conversations matching list_spaces' filters; groupBy messagePerspectiveUser splits by the user on the messages (needs messageResourceId).
- Free
photon__get_spaceGet one conversation: platform, kind (direct or group), participants and details.
- Free
photon__create_spaceOpen (or find) a conversation between Users: iMessage and WhatsApp take exactly 2 participants, SMS 2–9, email 1–51; one must be a project agent.Direct Spaces converge by participants; each call opens a new email thread. Answers the Space.
- Free
photon__set_space_typingShow or stop a typing indicator in a conversation as an agent (true refreshes; repeat to keep it showing).Answers 202 with the dispatched Message.
- Free
photon__list_usersList the people and agents the project knows: filter by platform, time, or by a message they sent or received; or read up to 100 by userIds in one call.
- Free
photon__count_usersCount Users matching list_users' filters.
- Free
photon__get_userGet one User with a refreshed classification: Human or Agent, handle, platform, and for agents which line (resourceId) they are.
- Free
photon__create_userResolve a handle (an E.164 phone number, an email address, an iMessage address) on a platform to a User, creating it if new.The first step before create_space with someone new.
- Free
photon__list_attachmentsList uploaded attachments: id, filename, content type, size.The bytes come from download_attachment.
- Free
photon__get_attachmentOne attachment's metadata.
- Free
photon__list_project_platformsThe platform types this project can use (sms, email, whatsapp, whatsapp_business, imessage, …).
- Free
photon__get_imessage_platformWhether the project is on shared or dedicated iMessage lines, with the shared seat cap.
- Free
photon__get_whatsapp_platformWhether the project is on shared or dedicated WhatsApp lines, with the shared seat cap.
- Free
photon__list_resourcesList everything the project holds — SMS numbers, dedicated lines, WhatsApp senders — oldest first, with each one's abilities (sms, imessage, whatsapp, pstn_voice, …) and state.Filter by type, ability or comma-separated states. In-flight provisions are operations, not resources.
- Free
photon__get_resourceOne line or number: abilities, state and its public detail (the phone number, health).
- Free
photon__release_resourceGive a resource back: an SMS number is retired, a dedicated line returns to the pool; its charge period closes.Usually immediate (200), sometimes an operation to poll (202).
- Free
photon__list_operationsList the project's provisioning and release operations, oldest first, running ones included; filter by resourceId, comma-separated states or one type.
- Free
photon__get_operationPoll one operation until its state is succeeded, failed or cancelled; a finished provision carries the resource, an email domain's detail carries its DNS records.
- Free
photon__cancel_operationWithdraw a provision that has not been fulfilled — a dedicated line still waiting for inventory, an SMS number before its provider order.Campaign operations cannot be cancelled.
- Free
photon__list_imessage_assignmentsList who holds a seat on the project's shared iMessage lines (released seats only with includeReleased).
- Free
photon__create_imessage_assignmentGive an end user a seat on a shared iMessage line: their handle (E.164 phone or email) is mapped onto a pooled number the server picks.An email invites them.
- Free
photon__get_imessage_assignmentOne shared iMessage line assignment.
- Free
photon__release_imessage_assignmentFree a shared iMessage seat and its handle; the row stays for audit with releasedAt set, so repeating is safe.
- Free
photon__provision_imessage_lineClaim a dedicated iMessage line for the project.Always an operation (202): capacity can take hours, so poll get_operation or cancel_operation to stop waiting. Needs the dedicated-lines entitlement; billed once a line is claimed.
- Free
photon__release_imessage_lineRemove iMessage from a dedicated line (the number and any WhatsApp on it stay).Usually immediate, sometimes an operation to poll.
- Free
photon__list_whatsapp_assignmentsList who holds a seat on the project's shared WhatsApp lines.
- Free
photon__create_whatsapp_assignmentGive an end user's phone number a seat on a shared WhatsApp line; an email invites them.
- Free
photon__get_whatsapp_assignmentOne shared WhatsApp line assignment.
- Free
photon__release_whatsapp_assignmentFree a shared WhatsApp seat; repeating is safe.
- Free
photon__provision_whatsapp_lineProvision a dedicated WhatsApp line (with shared Voice), on the project's iMessage line when possible so both keep one number.Always an operation (202) to poll or cancel.
- Free
photon__release_whatsapp_lineRemove WhatsApp from a dedicated line (iMessage and the number stay).
- Free
photon__get_whatsapp_business_accountThe WhatsApp Business Account connected to the project: business, review status, outbound capacity, sender count.
- Free
photon__list_whatsapp_business_phone_numbersThe connected WABA's phone numbers straight from Meta, with whether each is in Photon's inventory.
- Free
photon__get_whatsapp_signup_configWhat a browser needs to open Meta's Embedded Signup popup for this project: configId, graphVersion and scopes.
- Free
photon__connect_whatsapp_businessFinish Embedded Signup: exchange the code, WABA id and phone-number id the popup returned and connect that number as a whatsapp_sender.Free, but the organization needs a card on file. Answers an operation.
- Free
photon__create_whatsapp_business_senderRegister one of the project's own SMS-capable VoIP lines as a WhatsApp Business sender; Photon handles the SMS ownership code.Answers an operation.
- Free
photon__get_whatsapp_business_verification_codeRead the latest WhatsApp Business ownership code Meta texted to one of the project's VoIP numbers, if newer than receivedAfter (within the last two minutes).A missing code is a retryable 404.
- Free
photon__disconnect_whatsapp_business_accountDisconnect every WhatsApp Business sender and the account itself from the project (the numbers stay in Meta and Photon).Answers an operation to poll.
- Free
photon__list_sms_countriesCountries SMS numbers can be bought in.
- Free
photon__list_sms_area_codesUS area codes with current provider coverage for new numbers.
- Free
photon__purchase_sms_numberBuy one US local number (optionally in an area code from list_sms_area_codes) as an SMS-enabled resource.Always an operation (202): poll get_operation, cancel_operation while it waits for inventory. Billed on delivery.
- Free
photon__get_sms_campaignAn SMS line's 10DLC campaign assignment, its eligibility and the version assign_sms_campaign needs.
- Free
photon__assign_sms_campaignAttach (or replace) a ready 10DLC campaign from the organization on an SMS line; needs the current expectedVersion from get_sms_campaign.Provider provisioning runs as an operation.
- Free
photon__unassign_sms_campaignDetach an SMS line's 10DLC campaign (number and campaign stay owned); needs the current expectedVersion.
- Free
photon__connect_telegram_botStart connecting a managed Telegram bot: the answer is an operation whose detail.setupUrl a person opens to pick or create the bot; then poll get_operation.
- Free
photon__connect_email_domainConnect a sending domain: Photon starts provider setup and the operation's detail lists the DNS records to publish; poll get_operation until the domain is READY.
- Free
photon__list_voice_profilesThe project's Voice (SIP routing) profiles; default=true for the project default only.
- Free
photon__create_voice_profileCreate an additional Voice profile (the project default must already exist).
- Free
photon__get_default_voice_profileThe project's default Voice profile, with its inbound and outbound state.
- Free
photon__create_default_voice_profileCreate the project's default Voice profile when it has none (an identical replay returns the existing one).
- Free
photon__update_default_voice_profileChange the default profile's protocol or media encryption; needs its current expectedVersion.
- Free
photon__get_voice_profileOne Voice profile, with its inbound and outbound state.
- Free
photon__update_voice_profileRename an additional profile or change its protocol or media encryption; needs its current expectedVersion.
- Free
photon__delete_voice_profileDelete an additional Voice profile (never the default); force=true also drops the line overrides pointing at it.
- Free
photon__update_voice_profile_inboundPoint a profile's inbound calls at a SIP destination URI (sip: or sips:).Destination authentication is left as it is; set a username and password in Photon's dashboard.
- Free
photon__delete_voice_profile_inboundRemove a profile's inbound destination (the profile and its lines stay).
- Free
photon__update_voice_profile_outbound_authenticationSwitch a profile's outbound SIP Digest algorithm (sha-256 recommended, md5 legacy); the credential itself is unchanged.
- Free
photon__delete_voice_profile_outboundRevoke a profile's outbound calling credential (inbound and lines stay).
- Free
photon__get_voice_line_profileWhich Voice profile a line overrides to; a line on the project default answers without profileId.
- Free
photon__assign_voice_line_profileRoute one line's calls to an additional profile instead of the default; needs the line's current expectedVersion.
- Free
photon__unassign_voice_line_profileSend a line back to the project's default Voice profile.
- Free
photon__batch_update_voice_line_profilesAtomically set or clear (profileId null) the profile override on up to 100 lines; every expectedVersion must match or nothing changes.
- Free
photon__get_metrics_schemaThe message_events SQL schema, dialect, capabilities and limits query_metrics accepts.
- Free
photon__query_metricsRun read-only SQL over the project's message_events table (delivery outcomes, volumes, latency by platform); get_metrics_schema lists the columns.parameters bind named placeholders.
- Free
photon__get_metrics_backfillProgress of the historical metrics backfill (queries work meanwhile).
- Free
photon__list_webhook_api_versionsThe published webhook payload versions (calendar dates) and which are selectable for new destinations.
- Free
photon__list_webhook_event_typesThe event types a payload version offers (message.created, message.updated, …), with descriptions and schema links.
- Free
photon__get_webhook_event_schemaThe JSON Schema of one event type in one payload version.
- Free
photon__list_webhook_egress_addressesThe IP addresses Photon delivers webhooks from, for a receiver's allowlist.
- Free
photon__list_webhook_destinationsThe project's webhook destinations (never their signing secrets).
- Free
photon__create_webhook_destinationRegister an HTTPS URL to receive events of a payload version.The answer carries the signing secret once — keep it for verifying webhook-signature headers (Standard Webhooks).
- Free
photon__get_webhook_destinationOne webhook destination's configuration.
- Free
photon__update_webhook_destinationChange a destination's URL, name, description (null clears), events or status (disable to pause delivery).The payload version cannot change.
- Free
photon__delete_webhook_destinationDelete a webhook destination (repeating is safe).
- Free
photon__rotate_webhook_secretIssue a destination a new signing secret (returned once); the old one keeps verifying for overlapSeconds (default a day).
- Free
photon__retry_webhook_deliveryWake a waiting (backed-off) delivery for an immediate attempt; expectedAttemptCount fences stale requests.Answers 202: an attempt, not a success.
- Free
photon__download_attachmentRead an attachment's bytes (up to 2 MiB): an image comes back as an image, audio as audio, text or JSON as text, anything else as an embedded blob.A just-uploaded attachment may answer 409 ATTACHMENT_NOT_READY with a Retry-After.
- Free
photon__upload_attachmentUpload a file (base64, up to 10 MiB) as a project attachment and get its pho_att_… id, to send with send_message as an attachment or voice note.Give the real content type (image/jpeg, audio/mp4, application/pdf, …); Photon checks it against the bytes.
Pages about Photon
- Photon for Claude Code, Codex, and Cursor · Read and answer iMessage, WhatsApp and SMS conversations on your Photon lines from the agent you already use.